跳至內容
選單
此問題已被標幟
6 回覆
13990 瀏覽次數

Constraint Error

Invoice Number must be unique per Company!


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

頭像
捨棄

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?

最佳答案

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. 

頭像
捨棄
最佳答案

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

頭像
捨棄
最佳答案

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

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
4月 25
1202
0
3月 24
1721
1
7月 21
2882
0
10月 17
4335
2
10月 16
5938