Skip to Content
Menu
This question has been flagged
2 Replies
7127 Views

Hi, I have a doubt about the inventory module. In the model product.template, in the views: 

product.product_template_tree_view, product.product_template_canban_view

When I add a variation in a product, the internal reference of that product disappears. This is a bug or that is the function?


I searched this issue and I found that the odoo v8 had the same problem, but supposdly it was solved. I read about that in this link:

https://github.com/odoo/odoo/issues/2772



Avatar
Discard
Best Answer

This is not a BUG, this is just how Odoo is designed to work.

You might need to expand your understanding of the difference between a product template and a product variant.

https://www.odoo.com/documentation/user/11.0/inventory/settings/products/variants.html 

https://www.odoo.com/documentation/user/11.0/ecommerce/managing_products/variants.html

Once you create Variants from a product, that original product becomes a product template for the variant (a place to edit the attributes common to all variants) and can no longer be sold.

The variants of that product are now what is sold, so that's why only they have an internal reference.

Example:

If you create a product called 'TSHIRT' and then create two variants 'WHITE TSHIRT' and 'BLACK TSHIRT' then you no longer sell 'TSHIRT'.  You now sell just the two variants 'WHITE TSHIRT' and 'BLACK TSHIRT'.  The 'TSHIRT' remains the template for both variants, and any new ones you may create.  The product template is where you manage the information common to all variants.  The product variant is where you manage the information specific to that variant.

 

Avatar
Discard

So how can I search product variant by Internal Reference code in product.template tree view? Is this possible?

Best Answer

Hi,

This is not bug , when you have more than one variant for a product. you need distinct internal reference for these variants.

So the internal reference will be moved to the variants, where you can assign the different internal reference for the variants.


Example :

Product named Iphone having variants memory as 64 and 32. Now the internal reference field in the product.template will get disappeared. Now you can go to the product.product and set the internal reference for this products.


See if you have only one variant for product, ie, only memory 34 is available , then you can set the internal  reference from the product.template itself.


Thanks

Avatar
Discard

So how can I search product variant by Internal Reference code in product.template tree view? Is this possible?

Related Posts Replies Views Activity
5
Oct 21
4865
1
Sep 19
5415
1
Oct 19
4411
0
May 19
59
4
Nov 24
7059