Skip to Content
Menu
This question has been flagged

I would like to know if there is a way to convert a product.product element to product.template. The point is that we currently use product variants but we need to convert those product variants to product.template and no longer use variants. It would not matter to delete the attributes of the variants because we could differentiate them by changing only the name of the product.
I understand that in the database when creating a product a row is created in the product.template and product.product tables. But creating variants only creates rows in product.product with the product_tmpl_id pointing to the product.template. If there is a way to convert product.product to product.template either by bulk upload or otherwise, I would greatly appreciate the help.

Avatar
Discard

I would also like to get rid of product variants as the import process seems to have created a new blank variant for every import I have ever done even though I used template_id to identify each product.

I did find this code on a different post but not sure if it will still work in Odoo10 or Odoo14..

https://www.odoo.com/forum/help-1/how-do-i-move-all-product-variant-attachments-to-product-templates-i-don-t-want-to-use-variants-any-longer-106765

Related Posts Replies Views Activity
1
Aug 21
3164
2
Aug 23
1974
0
Oct 21
1013
0
Jul 21
2207
1
Sep 19
3920