Return values instead of changed result when testing payment term

Since 0db956eb2505 the returned value of on_change_with is set on the field.

Closes #12775
(grafted from aea01e3d595a526f7a093b0f7cef59ad215cab2a)

--HG--
branch : 7.0
This commit is contained in:
Cédric Krier committed 2023-11-27 12:43:31 +01:00
1 parent 4c10d819cb
commit 599c8ba9ad
1 file changed
+1 -2
+1 -2
View File
@@ -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):