This module provide an abstract model to manage customizable exceptions to be applied on different models (sale order, invoice, ...).
It is not useful by itself. You can see an example of implementation in the 'sale_exception' module. (sale-workflow repository) or 'purchase_exception' module (purchase-workflow repository).
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets administrators define custom exception rules that flag or block records on any Odoo model, and shows users a popup listing the outstanding exceptions before they continue.
This module is a building block: it adds a rule engine that other modules (for example sales or purchase) can plug into their own screens. On its own it mainly adds a configuration screen and a popup.
Where it appears: - A new "Exception Rules" menu under the Settings area, visible only to members of the new "Exception manager" group. - A rule form where you pick the model the rule applies to, choose how the rule is evaluated (by domain, by Python code, or by an existing method), and mark it as blocking or not. - A popup titled "Outstanding exceptions to manage" that lists the exceptions found on a record; managers can tick "Ignore Exceptions" there.
Business rules and automatic behaviour: - Rules are checked against records and the matching ones are stored on the record, so they stay visible. - A summary of the current exceptions is computed and shown as a formatted list, with blocking ones highlighted. - Blocking exceptions cannot be ignored: trying to ignore them raises an error. - A rule cannot be saved without the code, domain or method its evaluation type requires. - Rules can be archived, ordered by sequence, and are cached for speed; the cache is cleared whenever a rule is created, changed or deleted.
It touches the abstract models base.exception, base.exception.method, exception.rule and the wizard exception.rule.confirm.
Depends on
Required by other modules
Menus it adds
Models and fields (4)
- base.exception · new modelexception_ids (Exceptions), ignore_exception (Ignore Exceptions), main_exception_id, exceptions_summary
- exception.rule · new modelcode (Python Code), name (Exception Name), model (Apply on), active, domain, method, sequence, description, is_blocking, exception_type
- base.exception.method · new model
- exception.rule.confirm · new modelignore (Ignore Exceptions), exception_ids (Exceptions to resolve), related_model_id
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: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/server-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.