Skip to Content
Menu
This question has been flagged
3 Replies
3620 Views

Odoo Community Version 11 


Hi Odoo Community! I am attempting to import a product data set (in CSV and Excel formatting) and I am receiving an error in the name column it looks like. Our developers recommended us to 'Encode' the files as Unicode (UTF-8) (accessed through Save As>Tools>Web Options>Encoding) then saving the document as Unicode (UTF-8). This is the error I am receiving: 


  • null value in column "name" violates not-null constraint DETAIL: Failing row contains (140215, null, null, 62825LF-GL, 1, 0, 1176.00, 1, 3, null, null, null, 255232, 15, 6, 2020-03-25 16:45:41.924174, 6, 2020-03-25 16:45:41.924174, 0.00, 0). at row 2
  • null value in column "name" violates not-null constraint DETAIL: Failing row contains (140216, null, null, 62825LF-PC, 1, 0, 811.00, 1, 3, null, null, null, 255233, 15, 6, 2020-03-25 16:45:41.924174, 6, 2020-03-25 16:45:41.924174, 0.00, 0). at row 3

Is this related to how our Version 11 is setup or am I not uploading the data set in the correct way?

Adam

Avatar
Discard
Best Answer

Hi, Adam


Seems like "name" column is not present in your CSV or there is false value for "name" column due to this you are getting "null column" issue. So please check and update these values as "name" field is required for the product.

In case you still have the same issue then please share your CSV in order to check this issue.


Thanks,
Ashish Singh (Team Lead)
Webkul Software Private Limited
Avatar
Discard
Author Best Answer

Ashish Singh - I can share the file but unfortunately I don't have enough 'coins' if you will to do so. I need to gain Karma to comment or share anything with you. I can certainly email you directly the file in CVS format? My direct email below. 

I can certainly try that Mustufa Rangwala but I have over 1,000 and I still find trouble exporting data and re-uploading the data set back in troubling. 

anoll@mingleteam.com

Avatar
Discard
Best Answer

Hello,

It is not issue of Odoo 11 setup but format of your excel file.

You may try to first export from product and try to use same csv/excel to import - may be it can help.

Regards,

Mustufa Rangwala

Avatar
Discard
Related Posts Replies Views Activity
0
Oct 24
99
2
May 24
2371
0
Apr 24
311
0
Jul 23
799
2
Jul 23
1030