Return list of instance as result of test tax wizard

Since 0db956eb2505 the on_change_with for xxx2Many must return a list of
instances.

Closes #12852
This commit is contained in:
Cédric Krier
2023-12-23 01:47:24 +01:00
parent 5fae62689f
commit 10a5cb783e
+1 -2
View File
@@ -1928,8 +1928,7 @@ class TestTaxView(ModelView, TaxableMixin):
for taxline in self._get_taxes():
del taxline['manual']
result.append(Result(**taxline))
self.result = result
return self._changed_values.get('result', [])
return result
class TestTaxViewResult(ModelView):