Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
4390 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 25
2002
1
thg 4 25
1498
0
thg 10 24
1234
2
thg 5 24
4058
0
thg 4 24
1354