Add new depends from new get_eval_fields implementation

issue11164
This commit is contained in:
Cédric Krier committed 2022-01-30 20:17:47 +01:00
1 parent a78ffbed17
commit 7a1e58ded5
1 file changed
+2 -1
+2 -1
View File
@@ -78,7 +78,8 @@ class Line(metaclass=PoolMeta):
ondelete='RESTRICT',
domain=[
('company', '=', Eval('_parent_sale', {}).get('company', -1)),
])
],
depends=['sale'])
class Promotion(