跳至内容
菜单
此问题已终结
4 回复
22651 查看

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

形象
丢弃
最佳答案

Field name is required...

At first view, you have Empty line...

形象
丢弃
编写者 最佳答案

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...

形象
丢弃

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

相关帖文 回复 查看 活动
1
7月 25
883
0
2月 24
1570
0
11月 23
925
2
12月 22
5324
1
9月 21
3180