changeset fbeef8bf8722 in modules/account_payment_clearing:default
details:
https://hg.tryton.org/modules/account_payment_clearing?cmd=changeset&node=fbeef8bf8722
description:
Do not append to depends evaluated field from domain
issue11134
diffstat:
statement.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diffs (13 lines):
diff -r ddf5a5c7cec2 -r fbeef8bf8722 statement.py
--- a/statement.py Fri Apr 08 19:07:12 2022 +0200
+++ b/statement.py Sat Apr 09 00:02:57 2022 +0200
@@ -102,9 +102,6 @@
('company', '=', Eval('company', -1)),
('currency', '=', Eval('currency', -1))
]
- for fname in ['company', 'currency']:
- if fname not in cls.related_to.depends:
- cls.related_to.depends.append(fname)
@classmethod
def _get_relations(cls):