콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
1068 화면

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?

아바타
취소
베스트 답변

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.

아바타
취소
관련 게시물 답글 화면 활동
0
2월 24
1409
5
2월 24
7200
0
10월 23
1521
1
5월 23
2826
1
11월 22
2228