Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
5657 Visualizações

What is best procedure to export products along with associated variants and Build of Materials from one database and import them into a different/fresh V10 Community version database.

The export from the existing database includes that databases export id #'s which don't exist in the new database.  I can import the products without the export id's and let the new database assign new item numbers but then I don't know how to import the variants and BOM so the associations are maintained.

Thanks

Avatar
Cancelar
Melhor resposta


Some fancy excel or python work is needed here

  • Import all unique variant and their values eg Variant: Colour, Values: Black, Red, Green
  • Export alll variant values with their new external ids
  • Import all products and inplace of the name of the variant values, use the external ids of the variants values you just exported. This is a many2one field so you have to import it by seperating the ids with comma. See this https://www.odoo.com/documentation/16.0/applications/general/export_import_data.html.
    Import this step in the product template page not product variant page
  • Export the imported products from product variant page with their external ids and import the boms with this ids

    hope this helps
Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mai. 22
7450
2
dez. 24
7449
1
jan. 22
3606
1
fev. 19
4432
2
out. 23
2358