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 have a suppliers list difined in Odoo.
I would like to import products csv file with supplier ID for each product.
Here is a short exammple of the csv file I tried to import (file made with export functionnality) :
"__export__.product_category_9","Article de test","__export__.product_supplierinfo_5"
The supplier ID is 5 in database (PG).
I couldn't import this file.
Validate message is : 'NoneType' object has no attribute 'group'
If I choose to not import the last field, evrything is OK.
There is no problem with categories import wich also use database IDs.
So, where is the problem with suppliers import ? Is there a bug ... and a fix ?
Thanks for your help!
Are you sure you exported the file with the built-in export functionality? (with type of export: Import-compatible export).
Here is what I get when I export this way the same fields:
Notice how seller_ids/name/id is a res_partner and not product_supplierinfo, which is correct: seller_ids points to supplierinfo records, and seller_ids/name should point to the relative res_partner (the supplier).
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 7/17/14, 5:02 AM|
|Seen: 1737 times|
|Last updated: 8/24/16, 2:54 AM|