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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
3768
Vues
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
août 21
|
4963 | ||
|
2
août 23
|
4701 | ||
|
0
oct. 21
|
1887 | ||
|
0
juil. 21
|
3384 | ||
|
1
sept. 19
|
5454 |
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