changeset 5f543723b662 in modules/customs:default details: https://hg.tryton.org/modules/customs?cmd=changeset;node=5f543723b662 description: Add missing parent depends
issue8712 review258221002 diffstat: product.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r abb523dca4e9 -r 5f543723b662 product.py --- a/product.py Mon Sep 30 09:39:16 2019 +0200 +++ b/product.py Wed Oct 16 21:19:32 2019 +0200 @@ -51,7 +51,7 @@ def default_tariff_codes_parent(cls): return False - @fields.depends('parent', 'customs') + @fields.depends('parent', '_parent_parent.customs', 'customs') def on_change_with_customs(self): if self.parent: return self.parent.customs