Search 1.8 billion lines of Odoo code on GitHub


Author: Akretion, Sodexis, Camptocamp, Odoo Community Association (OCA)
License: AGPL-3
Branch: merge-branch-2473-
Repository: camptocamp/server-tools
Dependencies: base_exception
Languages: Python (164, 69.8%), and reStructuredText (71, 30.2%)
Other branches: merge-branch-2473-, merge-branch-2473-, merge-branch-2473-, merge-branch-2473-, merge-branch-2473-, merge-branch-2473-, merge-branch-2473-, merge-branch-2473-ENEA-464-fa234f04, merge-branch-2965-, merge-branch-2965-, merge-branch-2965-, merge-branch-2965-, merge-branch-2965-, merge-branch-2965-BSSBG-282-169ebe09, merge-branch-2965-BSSBG-282-17d11175, merge-branch-2965-BSSBG-282-1d713d82, merge-branch-2965-BSSBG-282-62a93b29, merge-branch-2965-BSSBG-282-b51420a9, merge-branch-2965-update_all_submodules-9f6c5cd7, merge-branch-3095-, merge-branch-3095-, merge-branch-3095-, and merge-branch-3095-BSDIA-182-8fa0533d
Other repositories: damdam-s/server-tools

Exception Rule

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runbot

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).

Table of contents

Known issues / Roadmap

This module executes user-provided code though a safe_eval which might be unsecure. How to mitigate risks should be adressed in future versions of this module.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Akretion
  • Sodexis
  • Camptocamp



This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/server-tools project on GitHub.

You are welcome to contribute. To learn how please visit