changeset 70acccaea460 in modules/production_work:4.4
details:
https://hg.tryton.org/modules/production_work?cmd=changeset;node=70acccaea460
description:
Add missing parent depends
issue8712
review258221002
(grafted from 018cd75e1181558a8b5ab1b59735b1aff118491e)
diffstat:
work.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 3341a9ff2ff5 -r 70acccaea460 work.py
--- a/work.py Tue Dec 05 00:12:21 2017 +0100
+++ b/work.py Wed Oct 16 21:20:14 2019 +0200
@@ -190,7 +190,7 @@
def default_company(cls):
return Transaction().context.get('company')
- @fields.depends('production')
+ @fields.depends('production', '_parent_production.warehouse')
def on_change_with_warehouse(self, name=None):
if self.production:
return self.production.warehouse.id