Account Invoice Constraint Chronology
This module helps ensuring the chronology of invoice numbers.
It prevents the validation of invoices when:
- there are draft invoices with a prior date
- there are validated invoices with a later date
- there are validated invoices with a higher number
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds an option on sales and purchase journals to enforce invoice number chronology. When enabled, Odoo blocks posting an invoice if it would break the date/number order of already posted or draft invoices in that journal.
This module adds a checkbox called "Check Chronology" on the journal form, visible only for sales and purchase journals. When you enable it on a journal, Odoo checks the order of invoices in that journal before allowing an invoice to be posted.
With the option active, posting is blocked in these situations: - A draft invoice with an earlier invoice date already exists in the same journal; you must validate it first. - An already posted invoice with a later invoice date exists. - An invoice with a higher number dated before the current invoice exists. - For an invoice that already had a number, posting is blocked if another invoice has a higher number but an earlier date, or a lower number but a later date.
When a conflict is found, Odoo shows an error message explaining the problem and does not post the invoice. The check applies only to invoices (not to miscellaneous entries) and respects the journal's refund sequence setting, so credit notes are compared with credit notes when refund sequences are separate.
The module extends the journal configuration screen and the invoice posting logic. It does not add new menus or reports.
Depends on
Models and fields (2)
- account.move · extends an existing model
- account.journal · extends an existing modelcheck_chronology
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 7 confirmed, 2 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/account-financial-tools.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.