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.
Guys, what is the difference between
product_id = fields.Many2one('product.template')
product_id = fields.Many2one('product.product')
If I'm using to read data 'product.template' getting different information than if I'm reading from database using 'product.product'
With 'product.product' everything seems to be OK/correct, when I'm using 'product.template' everything is completely wrong.
It shouldn't be the same ?
Just asking :)
No it is not same because product template is one product and product.product is variants of that perticular product template let understand with one example suppose you are selling POLO T-shirt polo t-shirt are in different color so you can define that different color in product.product.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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/24/15, 7:22 AM|
|Seen: 690 times|
|Last updated: 12/25/15, 5:35 PM|