Skip to Content
Menu
This question has been flagged
1044 Views

HI

I need to transfer products with variants from one Odoo database to another and have one requirement:

I need to keep the exact external identifier for both product.template and product.product records. 

I need specially to preserve the external identifier for product.product (Product Variants) because later on I'll have to transfer stock moves and, yes, what is referenced in stock moves, sales, purchases, is product.product (and not product.template).

I've successfully could already export products with variants exporting "attribute_line_ids/attribute_id/id" and "attribute_line_ids/value_ids/id" and import them in the destination database and everything is OK, products with variants are replicated but at the end variants (product.product records) have no external identifier, and I need them.

Can someone help, please?

Avatar
Discard