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

Hello!

I'm trying to import my customer list to the Sales app inside Odoo, but getting some errors. I've verified that the file is valid as I was able to import it to the newsletter app. I tried to export the list from the newsletter app and import that to the sales module, but still the same errors.

Here is a screenshot: https://cl.ly/3B0X0E0z151Y

And the errors:

new row for relation "res_partner" violates check constraint "res_partner_check_name" DETAIL: Failing row contains (18102, null, 1, null, null, 2016-12-03 22:52:04.563735, 0, person, null, null, null, null, null, null, null, null, f, null, email@email.com, f, null, t, null, null, null, f, null, 2016-12-03 22:52:04.563735, t, Europe/Oslo, 1, en_US, 1, null, null, contact, f, null, null, null, null, null, always, null, f, null, null, null, null, null, null, null). at row 2

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

Field name is required...

At first view, you have Empty line...

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

Ok, so the name field can't be empty? But on some on the contacts I only have the email, but intend to collect the name later...

Ảnh đại diện
Huỷ bỏ

Yes, name cannot be empty !Add a default value / placeholder (eg: 'unknow' or the email)

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
915
0
thg 2 24
1601
0
thg 11 23
945
2
thg 12 22
5360
1
thg 9 21
3234