Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Artificial Intelligence
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Property Management
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Vendor Bill Accounting Date not always adjusted

Subscriure's

Get notified when there's activity on this post

This question has been flagged
accountingv19
2 Respostes
1019 Vistes
Avatar
Arnold Knor

Has anyone experienced that the Accounting Date / Booking Date on Vendor Bills is not always adjusted automatically when the Invoice Date is from the previous month, even though the previous month is not locked?

In my tests, it seems that the behavior might be affected by whether the month number is included in the sequence. However, the correlation is not always clear, and from a functional accounting perspective this would not really make sense to me that the sequence affect the function.

V19 enterprise

Thanks in advance

0
Avatar
Descartar
Vivek Kundaliya

I understand the frustration—it's confusing because Odoo removed the traditional 'Sequence' configuration menu entirely in recent versions.

In V19, the 'sequence' isn't a setting you check in a menu; it’s a behavior the system learns from your manual edits. The reason you’re seeing inconsistent date behavior is that Odoo 19 uses Hashed Chronology. If your sequence includes a month (e.g., /05/), Odoo technically 'binds' that bill to May. If you then try to set an April Invoice Date, Odoo blocks the Accounting Date from moving backward because it won't allow a 'May-labeled' sequence to exist in the 'April' accounting period.

To fix the 'it doesn't work without it' part:
If you want the sequence to stop resetting monthly and let your dates move freely:

Reset your latest bill to Draft.

Manually rename it to a yearly format (e.g., change BILL/2026/05/0001 to BILL/2026/0001).

Confirm it.

Once the month is gone from the sequence string, Odoo stops 'period-locking' the bill, and the Accounting Date will follow the Invoice Date much more consistently. In V19, the Bill Number itself is effectively the configuration field.

Note on Customization:
If your business workflow strictly requires both a monthly-resetting sequence and the ability to backdate accounting entries without restriction, the 'out-of-the-box' logic in V19 may be too rigid. This behavior is rooted in Odoo's sequence_mixin. If the manual adjustments above don't solve it, a small Python customization to override the _get_last_sequence method can decouple the naming convention from the posting date logic entirely.

Let me know if you need any help with implementing this or with the technical override!

Zehntech Technologies Inc.

Hello Arnold,

Yes, that is generally correct from a standard Odoo behavior perspective.

Keeping the month in the journal sequence is usually considered a best practice, especially when sequences reset monthly. It helps Odoo maintain chronological consistency between posting dates and journal entry numbering.

As a result, Odoo may automatically align the Accounting Date with the Invoice Date period (or the last valid date within that period) to avoid sequence inconsistencies.

And yes, the Accounting Date is important because it determines:

the financial period impact on the P&L,
the tax reporting period,
and overall accounting period recognition.

That said, the exact behavior can still depend on the journal configuration, localization modules, and sequence setup in the specific database.

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

Avatar
Zehntech Technologies Inc.
Best Answer

Hello Arnold,

Yes, this behavior can occur in Odoo depending on the journal sequence configuration and posting rules. In particular, sequences that reset monthly or include the month in the numbering can influence how Odoo adjusts the Accounting Date to maintain chronological consistency of journal entries.

Even if the previous period is not locked, Odoo may still validate posting dates against the sequence logic of the journal. That’s why the behavior can appear inconsistent across different configurations.

I would recommend reviewing:

  • Journal sequence settings
  • Sequence reset policy (monthly/yearly)
  • Vendor Bill journal configuration
  • Any localization/accounting modules affecting posting behavior

Hope this works for you! If you need any help implementing this or want a more optimized approach, feel free to reach out for further discussion.

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

1
Avatar
Descartar
Arnold Knor
Autor

So to summarize it for my understanding:
- Without customization it's the best practice to keep the month number in the sequence.
- That avoids manual adjustments of the Accounting Date because the accounting date will be automatically adjusted to the (end of) month of the invoice Date.
- This adjustment is important because the accounting Date is responsible for the period of the P&L as well as for the period of the tax report.

Is that correct?

Avatar
Vivek Kundaliya
Best Answer

Hi Arnold,


Yes, this is a known behavior in Odoo v19, and you're right that the journal sequence configuration plays a role. Here's the clear explanation:


Why the Accounting Date is not always auto-adjusted:

Odoo's logic for auto-adjusting the Accounting Date on vendor bills works like this: when you set an Invoice Date that falls in a previous month, Odoo checks whether the journal's sequence for that month is still open (not locked). If it is open, Odoo SHOULD set the Accounting Date to match the Invoice Date.


However, there's a subtlety with sequences that include the month in their format (e.g., BILL/2025/04/XXXXX vs BILL/2025/XXXXX). When a journal uses a monthly-resetting sequence, Odoo also checks whether posting in the past month would cause sequence numbering gaps or inconsistencies for the current sequence. If Odoo detects it could break sequence continuity, it overrides the auto-adjustment and uses today's date instead.


How to fix or stabilize the behavior:


  1. Check your journal sequence type
  2. Go to Accounting → Configuration → Journals → open the Vendor Bills journal → Advanced Settings tab.
  3. Look at the Sequence field. If it resets monthly (e.g., includes /%(month)s/ or similar), this is likely the cause.

2. Switch to a yearly-resetting sequence (if monthly isn't required)

A yearly sequence (BILL/2025/XXXXX) doesn't trigger the same month-boundary check, so Odoo is more consistent about honoring the Invoice Date as the Accounting Date.


3. Use the "Lock Date" approach deliberately

If you lock previous months after they're reconciled, the Accounting Date auto-adjustment becomes consistent: Odoo only adjusts the date if the target month is unlocked, which is predictable.


4. Manual override

As a workaround, you can always manually set the Accounting Date field on the vendor bill before posting. Go to the bill, look for Accounting Date (may need to enable it via the optional columns icon), and set it explicitly.


Bottom line: the behavior is not a bug — it's Odoo protecting sequence integrity. Using a yearly sequence or consistently locking periods will make the behavior predictable.

0
Avatar
Descartar
Arnold Knor
Autor

Hi Vivek, there is no sequence field in the vendor bill journal. With a monthly-resetting sequence it works, but it doesn't without.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Cambiar numeracion de facturacion
accounting v19
Avatar
Avatar
Avatar
Avatar
3
de juny 26
731
Peppol error when sending an invoice without a VAT amount Solved
accounting VAT v19
Avatar
1
de març 26
2273
『✦Iberia✦Costa~Rica✦』¿Cómo comunicarse con Iberia Costa Rica?
accounting
Avatar
0
de juny 26
51
Prevent auto-validation of bank journal transaction to vendor bill matching
accounting
Avatar
Avatar
Avatar
Avatar
3
de juny 26
710
in odoo 19 the amount does not appear distributed Profits/Losses  after closing the balance
accounting
Avatar
Avatar
Avatar
2
de juny 26
3127
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now