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

I can import the first 10 rows of this table, why not row 11?


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

This kind of error occurs when the import file contains duplicate values.

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

You can only have ONE account with the same CODE per COMPANY.

If you have 500123 - Cost of Goods in Company A, you can't have any other account coded 500123 in the same Company.

Row 11 has an account coded the same was as an existing account in Odoo - check for this (rename the code to have "-OLD" at the end should work).

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

Hello, I am having the same problem.

The thing is that I am trying to update values for other fields of the already existing "codes" (actually I'm doing this at the stock.production.lot model, which I have extended with inheritance and custom fields).

I don't know why the import doesn't let me overwrite some info on existing rows. I've done it on other models before. Maybe it's because of the way they were created.

Any advice?

Please start a new question and provide a link to the file you are importing and other details such as which fields and constraints you have added. It is hard to guess. More information will help.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
25004
2
thg 7 22
4175
1
thg 9 21
3810
3
thg 9 21
8603
2
thg 9 21
9457