Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Vendor Bill Accounting Date not always adjusted

Subscribe

Get notified when there's activity on this post

This question has been flagged
accountingv19
2 Replies
1028 Views
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
Discard
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
Discard
Arnold Knor
Author

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
Discard
Arnold Knor
Author

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!

Sign up
Related Posts Replies Views Activity
Cambiar numeracion de facturacion
accounting v19
Avatar
Avatar
Avatar
Avatar
3
Jun 26
755
Peppol error when sending an invoice without a VAT amount Solved
accounting VAT v19
Avatar
1
Mar 26
2292
Odoo V19 Facturation électronique FRANCE : AFNOR XP Z12-013
v19
Avatar
Avatar
2
Jun 26
135
Prevent auto-validation of bank journal transaction to vendor bill matching
accounting
Avatar
Avatar
Avatar
Avatar
Avatar
4
Jun 26
912
Error in board and ledger
accounting
Avatar
0
Jun 26
64
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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