Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
4382 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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
Аватар
Відмінити
Автор Найкраща відповідь

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

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
лип. 25
1997
1
квіт. 25
1495
0
жовт. 24
1232
2
трав. 24
4053
0
квіт. 24
1350