Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
de5a60f
[ADD] split module sale_exception into base_exception
mourad-ehm Feb 21, 2017
cf14652
[FIX] base_exception: '_check_exception' is 'api.multi' since it's ca…
lmignon Jun 9, 2017
6074c36
[MIG] base_exception: Migration to 11.0
mourad-ehm Oct 13, 2017
f015084
[FIX] temp model test access rule & fix OCA remarks
mourad-ehm Nov 24, 2017
dc772fb
[FIX] Enable post_install for tests + pylint
astirpe Feb 15, 2018
cfdec3d
[IMP] Update base_exception views
ivantodorovich Oct 25, 2018
90f9d5e
FIX remove old api parameters in base_exception
bealdav Nov 19, 2018
085210c
[FIX] base_exception: send the active_model in the conxtext when call…
nicomacr Apr 1, 2019
56bc3c5
[MIG] base_exception: Migration to 12.0
ivantodorovich Apr 9, 2019
e5e4008
[WIP] sale_exception_by_domain
mourad-ehm Mar 23, 2018
beef0c0
FIX self[0] in _rule_group
ivantodorovich Apr 9, 2019
961ed0f
[MIG] dict.iteritems() does not exist in Python3
ivantodorovich Apr 9, 2019
ce413e5
[IMP] Add convenience action to ignore exceptions on record
Jun 18, 2019
4a8e844
[IMP] base_exception: black, isort
jaredkipe Mar 13, 2020
014ac98
[MIG] base_exception: Migration to 13.0
jaredkipe Mar 13, 2020
37cc19c
[IMP] base_exception: black, isort, prettify
kevinkhao Nov 24, 2020
9994c57
[14.0][MIG] base_exception: Migration to 14.0
kevinkhao Nov 24, 2020
02318e6
[FIX] fix access right
sebastienbeau Feb 3, 2021
8c3b50d
[FIX] base_exception: import correctly osv.expression
MiquelRForgeFlow Apr 14, 2021
3e6d113
[14.0][FIX] base_exception, error if rule's description is null
kittiu Aug 1, 2021
5ecda97
[IMP] base_exception: Allow to skip exception checks through context
ivantodorovich Oct 27, 2021
5921b4d
[13.0][fix][base_exception] search only active exception rules
JordiBForgeFlow Mar 15, 2021
83f1833
[13.0][IMP] base_exception add blocking exceptions
TDu Mar 24, 2021
41b2143
[IMP] base_exception: test blocking exceptions
hailangvn Oct 29, 2021
25d6227
[IMP] add method exception
sebastienbeau Dec 18, 2020
31551dc
[REF] Refactor test
sebastienbeau Dec 18, 2020
6ca2d5f
[IMP] base_exception: log traceback when code exception is raised
ivantodorovich May 24, 2022
68bd282
[MIG] base_exception: Migration to 15.0
cesar-tecnativa Jun 28, 2022
64ce0fb
[FIX] base_exception: add _popup_exceptions deleted in migration
MiquelRForgeFlow Jul 15, 2022
931f8cc
base_exception 15.0.1.0.1
OCA-git-bot Jul 15, 2022
ca8710b
[FIX] base_exception: Fix tests and add odoo_test_helper as dependency
CarlosRoca13 Aug 10, 2022
273e0d0
base_exception 15.0.1.0.2
OCA-git-bot Aug 11, 2022
62fcafa
[MIG] base_exception: Migration to 16.0
matiasperalta1 Nov 16, 2022
7b02045
base_exception 16.0.1.0.1
OCA-git-bot Dec 30, 2022
5d0af2b
Update translation files
weblate Dec 30, 2022
a13a22e
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
db1f75f
Translated using Weblate (Italian)
francesco-ooops Jan 3, 2023
fbcd172
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 15, 2023
187cb18
[16.0][IMP] base_exception: Improved wizard view
aliciagaarzo Feb 27, 2023
262459e
Translated using Weblate (Italian)
mymage Mar 23, 2023
7ef0779
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 31, 2023
6abe1c9
Translated using Weblate (Italian)
mymage Apr 10, 2023
ff6192a
Translated using Weblate (French)
glitchov Apr 19, 2023
fc45e49
Update translation files
weblate Jun 7, 2023
a30c255
base_exception 16.0.1.0.2
OCA-git-bot Jul 4, 2023
a971e0f
[IMP] base_exception: One model per python file
lmignon Jul 4, 2023
e8eba46
[IMP] base_exception: Improves performances
lmignon Jul 4, 2023
88ac308
[IMP] base_exception: Improves performances
lmignon Jul 4, 2023
debab97
[IMP] base_exception: Improves performances
lmignon Jul 4, 2023
d5734e9
Translated using Weblate (Spanish)
Ivorra78 Aug 25, 2023
0bd1fc6
base_exception 16.0.2.0.0
OCA-git-bot Sep 4, 2023
c59f175
Update translation files
weblate Sep 4, 2023
a22bb5b
[IMP] base_exception: pre-commit auto fixes
lef-adhoc Jan 16, 2024
9c48c05
[MIG] base_exception: Migration to 17.0
lef-adhoc Jan 16, 2024
6965cec
Update translation files
weblate Feb 3, 2024
040a7b7
Update translation files
weblate Feb 3, 2024
782a3c0
Translated using Weblate (Italian)
mymage Feb 14, 2024
c416fb5
Translated using Weblate (Spanish)
Ivorra78 Feb 14, 2024
9de4178
[MIG] base_exception: Migraion to 18.0
xaviedoanhduy Oct 1, 2024
096a1f4
[UPD] Update base_exception.pot
Nov 27, 2024
55cd6b7
[BOT] post-merge updates
OCA-git-bot Nov 27, 2024
e127f33
[IMP] base_exception: Add a hook method / Don't build void exceptions
rousseldenis Apr 19, 2024
c28b29f
[BOT] post-merge updates
OCA-git-bot Jan 17, 2025
436c3e6
[UPD] Update base_exception.pot
Mar 16, 2025
d084ddb
Update translation files
weblate Mar 16, 2025
4a6417a
Translated using Weblate (Italian)
mymage Mar 18, 2025
d16432b
Translated using Weblate (Dutch)
bosd May 25, 2025
eb18322
Translated using Weblate (Dutch)
bosd May 25, 2025
8a64493
[MIG] base_exception: Migration to 19.0
lef-adhoc Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 127 additions & 0 deletions base_exception/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==============
Exception Rule
==============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d1ed01cf065908a53b1a57529a5a8d7dcfcd705e526291146f3a5e65f50f9279
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
:target: https://github.com/OCA/server-tools/tree/19.0/base_exception
:alt: OCA/server-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-tools-19-0/server-tools-19-0-base_exception
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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**

.. contents::
:local:

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 <https://github.com/OCA/server-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20base_exception%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Akretion
* Sodexis
* Camptocamp
* ACSONE SA/NV

Contributors
------------

- Raphaël Valyi <raphael.valyi@akretion.com>
- Renato Lima <renato.lima@akretion.com>
- Sébastien BEAU <sebastien.beau@akretion.com>
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
- Yannick Vaucher <yannick.vaucher@camptocamp.com>
- SodexisTeam <dev@sodexis.com>
- Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
- Raphaël Reverdy <raphael.reverdy@akretion.com>
- Iván Todorovich <ivan.todorovich@druidoo.io>
- Tecnativa <tecnativa.com>

- João Marques

- Kevin Khao <kevin.khao@akretion.com>
- Laurent Mignon <laurent.mignon@acsone.eu>
- Do Anh Duy <duyda@trobz.com>

Other credits
-------------

The migration of this module from 17.0 to 18.0 was financially supported
by Camptocamp.

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-hparfr| image:: https://github.com/hparfr.png?size=40px
:target: https://github.com/hparfr
:alt: hparfr
.. |maintainer-sebastienbeau| image:: https://github.com/sebastienbeau.png?size=40px
:target: https://github.com/sebastienbeau
:alt: sebastienbeau

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-hparfr| |maintainer-sebastienbeau|

This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/19.0/base_exception>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions base_exception/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import wizard, models
27 changes: 27 additions & 0 deletions base_exception/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
# Copyright 2017 Akretion (http://www.akretion.com)
# Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
# Copyright 2020 Hibou Corp.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Exception Rule",
"version": "19.0.1.0.0",
"development_status": "Mature",
"category": "Generic Modules",
"summary": """
This module provide an abstract model to manage customizable
exceptions to be applied on different models (sale order, invoice, ...)""",
"author": """Akretion, Sodexis, Camptocamp,
ACSONE SA/NV, Odoo Community Association (OCA)""",
"website": "https://github.com/OCA/server-tools",
"depends": ["base_setup"],
"maintainers": ["hparfr", "sebastienbeau"],
"license": "AGPL-3",
"data": [
"security/base_exception_security.xml",
"security/ir.model.access.csv",
"wizard/base_exception_confirm_view.xml",
"views/base_exception_view.xml",
],
"installable": True,
}
Loading