Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Intelligence artificielle
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Vendor Bill Accounting Date not always adjusted

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
accountingv19
2 Réponses
1000 Vues
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
Ignorer
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.
Meilleure réponse

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
Ignorer
Arnold Knor
Auteur

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
Meilleure réponse

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
Ignorer
Arnold Knor
Auteur

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

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Cambiar numeracion de facturacion
accounting v19
Avatar
Avatar
Avatar
Avatar
3
juin 26
675
Peppol error when sending an invoice without a VAT amount Résolu
accounting VAT v19
Avatar
1
mars 26
2238
『✦Iberia✦Costa~Rica✦』¿Cómo comunicarse con Iberia Costa Rica?
accounting
Avatar
0
juin 26
51
Prevent auto-validation of bank journal transaction to vendor bill matching
accounting
Avatar
Avatar
Avatar
Avatar
3
juin 26
355
in odoo 19 the amount does not appear distributed Profits/Losses  after closing the balance
accounting
Avatar
Avatar
Avatar
2
juin 26
2872
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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