This question has been flagged
2647 Views

Good Morning, 

Is it necessary in Odoo 10 to write update code, if some trigger fields of related fields with store=True are overwritten (like it has to be done in Odoo 7)? Or is it in Odoo 10 not required anymore?

Example: When I have a related field "my_category" with store=True in Odoo 7  that is refering to "foo_id.product_template_id.product_category_id" and I assign a different product_category to the product_template, then "my_category" would still refer to the old product_category_id, UNLESS I would write a method that will be executed when field product_category_id in table product_template is triggered. Is this kind of triggering code also required in Odoo 10 or not anymore? Thank you

Avatar
Discard