diff --git a/modules/account_invoice/payment_term.py b/modules/account_invoice/payment_term.py index feda4f05d6..359ff17a06 100644 --- a/modules/account_invoice/payment_term.py +++ b/modules/account_invoice/payment_term.py @@ -347,8 +347,7 @@ class TestPaymentTermView(ModelView): date=date, amount=amount, currency=self.currency)) - self.result = result - return self._changed_values.get('result', []) + return result class TestPaymentTermViewResult(ModelView):