Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
5642 Prikazi

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
Opusti
Best Answer


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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
maj 22
7416
2
dec. 24
7414
1
jan. 22
3592
1
feb. 19
4424
2
okt. 23
2327