This question has been flagged
1 Reply
2855 Views

Hi, i am using odoo11.

I am importing some data from a legacy db, including products and lots. I activated the lot traceability from the general settings.

When importing products, i set a field as the 'external ID', like so:

External ID: C; Name: Cucumber; ... etc ...

When i import lots, i suppose the correct way is to setup the fields like this:

Product: C; Lot number: 111222333; ... etc ...

but this also seem to work:

Product / External ID: C; Lot number: 111222333; ... etc ...

Are both ways equivalent? If not, what is the correct way to proceed in this case?

Thank you very much


Avatar
Discard
Best Answer

The latter one use the syntax for related fields. Your answer is in the extensive "How to import data into Odoo" documentation, it comes with downloadable templates :

https://www.odoo.com/documentation/user/11.0/general/base_import/import_faq.html

Avatar
Discard
Author

Thank you for the answer and the link!

I hope it will help you. I didn't fully understood your question at first, and my answer is far from complete.