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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
3907
Visualizzazioni
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
ago 21
|
5143 | ||
|
2
ago 23
|
4973 | ||
|
0
ott 21
|
2006 | ||
|
0
lug 21
|
3501 | ||
|
1
set 19
|
5594 |
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