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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
3587
Vistas
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
ago 21
|
4743 | ||
|
2
ago 23
|
4234 | ||
|
0
oct 21
|
1761 | ||
|
0
jul 21
|
3205 | ||
|
1
sept 19
|
5222 |
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