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

I everyone,

I am figuring something weird... When I import csv file in OpenERP I have this error message :

"Missing required value for the field 'Name' (name) at row ..."

I have this problem since several days. Usually it works very good.

Is this a bug?

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

I had the same Issue.
It can happen if you export something to have an import template, but you forget to export a mandatory field, which is related to a field, you exported.
In my example I exported "product.template" with these fields:
name, type, categ_id, (all required), image_1920, product_template_image_ids/image_1920 (to have more than 1 Image)
Now it told me "missing required value 'name' in row.."
I was confused, because 'name' was clearly there. I then realised, that product_template_image_ids/image_1920 has a related value product_template_image_ids/name, which indeed was required, but missing. I hope this explanation will help some people, which also get confused by this error message!

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

When you import csv file you have to be sure that you are importing everything correctly.

That error happens when you are trying to import something related to another module. For example, if you try to import orders related to products that doesn't exist then the system is going to try to create that products, but on products the name is required so it's going to appear that error.

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

Thanks for your answer.

But I figure this out even when I export product list, make not any change and import same list again in OpenERP.

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