Add missing parent depends
issue8712 review258221002
This commit is contained in:
1 parent
1acd473b00
commit
df48a41ae7
1 file changed
+1
-1
+1
-1
@@ -263,7 +263,7 @@ class Product(
|
||||
# Prevent NotImplementedError for One2Many
|
||||
pass
|
||||
|
||||
@fields.depends('template')
|
||||
@fields.depends('template', '_parent_template.id')
|
||||
def on_change_template(self):
|
||||
for name, field in self._fields.items():
|
||||
if isinstance(field, TemplateFunction):
|
||||
|
||||
Reference in new issue
Block a user