Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
5650 Vues

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
Ignorer
Meilleure réponse


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
Ignorer
Publications associées Réponses Vues Activité
1
mai 22
7436
2
déc. 24
7437
1
janv. 22
3600
1
févr. 19
4427
2
oct. 23
2346