changeset 0a5b26e5c6fb in modules/sale_promotion:default
details:
https://hg.tryton.org/modules/sale_promotion?cmd=changeset&node=0a5b26e5c6fb
description:
Add new depends from new get_eval_fields implementation
issue11164
diffstat:
sale.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r ee1e297aea74 -r 0a5b26e5c6fb sale.py
--- a/sale.py Sun Jan 23 12:54:56 2022 +0100
+++ b/sale.py Sun Jan 30 20:17:47 2022 +0100
@@ -78,7 +78,8 @@
ondelete='RESTRICT',
domain=[
('company', '=', Eval('_parent_sale', {}).get('company', -1)),
- ])
+ ],
+ depends=['sale'])
class Promotion(