changeset 5b7872e3afc0 in modules/account_payment:default
details: 
https://hg.tryton.org/modules/account_payment?cmd=changeset&node=5b7872e3afc0
description:
        Do not append to depends evaluated field from domain

        issue11134
diffstat:

 account.py |  3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diffs (13 lines):

diff -r 42f15d274878 -r 5b7872e3afc0 account.py
--- a/account.py        Fri Apr 08 19:07:12 2022 +0200
+++ b/account.py        Sat Apr 09 00:02:57 2022 +0200
@@ -587,9 +587,6 @@
         cls.related_to.search_context.update({
                 'amount_order': Eval('amount', 0),
                 })
-        for field in ['company', 'party', 'currency', 'amount']:
-            if field not in cls.related_to.depends:
-                cls.related_to.depends.append(field)
 
     @classmethod
     def _get_relations(cls):

Reply via email to