Do not append to depends evaluated field from domain

issue11134
This commit is contained in:
Cédric Krier committed 2022-04-09 00:02:57 +02:00
1 parent 6afe4584ca
commit 1a8b169ec6
1 file changed
-2
-2
View File
@@ -39,8 +39,6 @@ class Payment(metaclass=PoolMeta):
('state', '!=', 'cancelled'),
()),
]
if 'state' not in cls.origin.depends:
cls.origin.depends.append('state')
@classmethod
def _get_origin(cls):