Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
667 Vizualizări

Hi community,

So I'm facing an issue where my invoice sequence numbers just skipped for no apparent reason from INV 697 to INV 708( a total of 10 numbers). My initial thoughts were that some invoices were deleted, but we have a check to prevent this. We created a customization to prevent deleting invoices including cancelled ones. What could be the matter? Does Odoo randomly skip sequence numbers? Is this a bug in version 12?

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,


This is a common situation in Odoo 12 and typically not a bug. Here's what might be happening:


    Odoo reserves the next invoice number as soon as an invoice is created, even in draft. If the invoice is later canceled or never validated, the number still counts as used.


    Sequence numbers are not rolled back. Once assigned, they are never reused—even if the invoice is discarded or fails due to validation errors.


    Custom code or external systems (like API integrations) may trigger invoice creation in the background, unintentionally consuming sequence numbers.


    Multiple users working at the same time can also lead to skipped numbers, especially if someone starts an invoice and abandons it.


    Even without deletion (which you've blocked), canceled or draft invoices may be responsible for the missing numbers.


    From an accounting perspective, gaps in invoice sequences are acceptable as long as the numbering remains unique and chronological.


Hope it helps.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
feb. 24
1190
5
ian. 24
6612
0
oct. 23
1302
1
mai 23
2537
1
nov. 22
1914