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
|Asked: 12/24/15, 7:22 AM|
|Seen: 642 times|
|Last updated: 12/25/15, 5:35 PM|