Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm trying to import a list of products with the supplier (seller_ids/id)
But I don't know what to write in this column. When I export a list of products I get something like: __export__.product_supplierinfo_2 __export__.product_supplierinfo_1 in the supplier column.
I don't know what the __export__ part means either.
I think the relationship Product-Supplier is a One2Many so my guess is that I should enter some id of the supplier (not the name, or?).
Someone please help!
I think the export is associated with ids generated by the system. If you enter a product name into OpenERP, the application generates a unique id so that each product is unique irrespective of name. You can generate your own id before importing to the database. With the suppliers for each product, you will need to specify some other fields which are the compulsory once before you can import. eg you make need to have a min quantity and cost of the product from the supplier. If you already have the suppliers and products in the application then you will need to export them to get the ids which you will use. If you don't already, then create your product ids eg a00001 to annn...n and your suppliers or customers ids eg aa00001 to aann...n and use this when importing the product with suppliers
Kaynis is correct, in my experience. I do a lot of importing/exporting with OpenERP. the __export__ id's are basically id's that everything else will refer to that record by. I usually create that column on my own and give it a reasonable name in my csv. That way all my future imports can relate to it easier. In the question above, I might name it something like supplier.agrolait just so I can import other related information (such as products) easier by referring to supplier.agrolait, rather than the archaic string it makes for you :) Word of caution, not all external.id's are able to be imported, so test, test, test first.
PS Sorry site was being slow, accidentally messed up my comments a little bit. One other thing worth noting, AFAIK, those external ID's are not created until you export whatever area your working in.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/11/13, 8:50 AM|
|Seen: 7768 times|
|Last updated: 8/26/16, 9:42 PM|