From 5a4992149518b56e2345ca999795fbc2cf3b439d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 9 Apr 2022 00:02:57 +0200 Subject: [PATCH] Do not append to depends evaluated field from domain issue11134 --- statement.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/statement.py b/statement.py index 284d333ee5..f57ceeceed 100644 --- a/statement.py +++ b/statement.py @@ -102,9 +102,6 @@ class StatementLine(metaclass=PoolMeta): ('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):