Skip to Content
Menú
This question has been flagged
6 Respostes
13954 Vistes

Constraint Error

Invoice Number must be unique per Company!


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

Avatar
Descartar

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?

Best Answer

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. 

Avatar
Descartar
Best Answer

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

Avatar
Descartar
Best Answer

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

Avatar
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
4
d’abr. 25
1186
0
de març 24
1704
1
de jul. 21
2853
0
d’oct. 17
4323
2
d’oct. 16
5903