Account Move Reconcile Forbid Cancel
This module restricts to cancel or reset to draft any invoice/journal entry that has been reconciled (aka paid).
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Prevents users from cancelling or resetting to draft any invoice or journal entry that has already been reconciled (paid).
This module adds a safety rule to accounting entries in Odoo. When a user tries to cancel an invoice or journal entry, or to reset it back to draft, Odoo first checks whether that entry contains any reconciled journal items. If it does, the action is blocked and an error message appears: "You cannot cancel reconciled entries." or "You cannot reset to draft reconciled entries."
The rule applies to the standard Cancel and Reset to Draft buttons found on invoices and journal entries (account.move). It does not add new menus, screens or reports; it only changes the behaviour of these existing buttons.
A technical escape hatch exists: the check can be skipped through a special context flag, which is mainly used by automated tests or specific flows. In normal day-to-day use, accountants and other users will simply be stopped from undoing entries that are already matched with payments.
This helps protect the integrity of the accounting records by making it harder to accidentally cancel or reopen entries that have already been reconciled.
Depends on
Models and fields (1)
- account.move · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 18.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: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/account-reconcile.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0To use this module, you need to:
- Go to Invoicing \> Customers \> Invoices
- Access an invoice that has a payment.
- Click on the 'Reset to Draft' button and you will get an error message to prevent you from resetting the invoice to draft state because it has already an associated payment.
No verified information in OCA: Installation, Configuration.
Installation 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.