Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm not very clear on what the difference between product.product and product.template is. Am I correct in saying that product.product is created from a product.template?
It seems to me that product.product is a 'child' (so to speak) of product.template. Do changes in product.template fields propogate to its children? Does any change to product.product propogate to product.template?
When you create a product from the menu, what you inmediatelly see is the product template.
If you go to the tab "variant", you will see all products variant related to that product (variants = product.product, yes product.product is a children of product.template).
By default when you create a product.template, a default variant with some of the template values is created.
John, you are right that product.product is a child of product.template. Changes in product.template fields does propagate to its children (all products that has the same template). Changes to product.product does not propagate to product.template.
You inherit product.template if you want the property you are adding to affect a group of product variants (product.product). You inherit the product.product if you want the property that you are adding to affect only one product variants (meaning each product variant can have different value).
Note that I did not put changing in the above paragraph because once a field is defined in product.template, it better stays there (and vv).
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/12/14, 8:08 PM|
|Seen: 2722 times|
|Last updated: 11/30/15, 2:18 AM|