Odoo Help


Import product and supplier using CSV

Christoffer Bergkvist
on 12/11/13, 8:50 AM 10,139 views

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!

On 12/11/13, 10:15 AM

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

couldn't fit my comment here, so had to put it as an answer.

Mike Lindsay
on 12/11/13, 7:18 PM
Mike Lindsay
On 12/11/13, 7:22 PM

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.

On 3/21/16, 10:01 AM

hello guys 

i cant find field (seller_ids/id)  while i am trying to upload products with suppliers (csv) !! could you help me 

Open Net Sarl
On 12/11/13, 4:12 PM

You will find a sample file that we used at Open Net for import. Product exemple replace by xls.png The file come with a .png but it's an .xls file Download the file and replace the extension, and you are done.

OK, the file is in french... but you can understand it..

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 12/11/13, 8:50 AM
Seen: 10139 times
Last updated: 8/26/16, 9:42 PM