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

Constraint Error

Invoice Number must be unique per Company!


From what I can see, the invoice number is unique.

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

I have the same problem since today.

I'm receiving the same error when I validate a vendor bill in Odoo 10. Does anybody know how how to fix it?

Câu trả lời hay nhất

In version 11 go to Accounting->Configuration->Accounting->Journals and select the document type.  Then under the "Journal Entries" tab you should be able to increase the "Next number" so it's not a duplicate. 

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

Hello Friends,

For example, when you validate invoice and this error occurs then follow this step.

First, you have to click debug mode then Go to Accounting -> Journal (customer invoice journal) -> Next number (INV sequence). Click it. you will see sequence that is your sequence size and from to date with next number   table. So, look that table, there is from when to when date limit and limited sequence numbers. You have to change there for your error.

Thank you

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

You can use OCA Renumbering module. After installation just run it. An dthe problem is solved.

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

Check Vendor Bills -> Other Info -> Journal -> Entry sequence.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 4 25
1198
0
thg 3 24
1716
1
thg 7 21
2876
0
thg 10 17
4334
2
thg 10 16
5930