Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] base_exception: Migration to 17.0 #2809

Merged
merged 66 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
05d595d
[ADD] split module sale_exception into base_exception
mourad-ehm Feb 21, 2017
4e96d7d
[FIX] base_exception: '_check_exception' is 'api.multi' since it's ca…
lmignon Jun 9, 2017
467f8dd
[MIG] base_exception: Migration to 11.0
mourad-ehm Oct 13, 2017
8916185
[FIX] temp model test access rule & fix OCA remarks
mourad-ehm Nov 24, 2017
be577fc
[FIX] Enable post_install for tests + pylint
astirpe Feb 15, 2018
cd57eb7
[IMP] Update base_exception views
ivantodorovich Oct 25, 2018
838339d
FIX remove old api parameters in base_exception
bealdav Nov 19, 2018
416f440
[FIX] base_exception: send the active_model in the conxtext when call…
nicomacr Apr 1, 2019
ad193b7
[MIG] base_exception: Migration to 12.0
ivantodorovich Apr 9, 2019
5e8b92b
[WIP] sale_exception_by_domain
mourad-ehm Mar 23, 2018
335b422
FIX self[0] in _rule_group
ivantodorovich Apr 9, 2019
c5c8640
[MIG] dict.iteritems() does not exist in Python3
ivantodorovich Apr 9, 2019
e35b730
[IMP] Add convenience action to ignore exceptions on record
Jun 18, 2019
8bb03e4
[IMP] base_exception: black, isort
jaredkipe Mar 13, 2020
7d48027
[MIG] base_exception: Migration to 13.0
jaredkipe Mar 13, 2020
bdea76c
[UPD] Update base_exception.pot
oca-travis Nov 4, 2020
ca28712
[IMP] base_exception: black, isort, prettify
kevinkhao Nov 24, 2020
d68b825
[14.0][MIG] base_exception: Migration to 14.0
kevinkhao Nov 24, 2020
a148c63
[UPD] README.rst
OCA-git-bot Nov 30, 2020
7c61d47
[FIX] fix access right
sebastienbeau Feb 3, 2021
0a39655
[FIX] base_exception: import correctly osv.expression
MiquelRForgeFlow Apr 14, 2021
9170475
[14.0][FIX] base_exception, error if rule's description is null
kittiu Aug 1, 2021
823ac5a
[UPD] Update base_exception.pot
oca-travis Sep 2, 2021
3783a95
[IMP] base_exception: Allow to skip exception checks through context
ivantodorovich Oct 27, 2021
0554460
[13.0][fix][base_exception] search only active exception rules
JordiBForgeFlow Mar 15, 2021
6994ba4
[13.0][IMP] base_exception add blocking exceptions
TDu Mar 24, 2021
8fc680c
[IMP] base_exception: test blocking exceptions
hailangvn Oct 29, 2021
91fb471
[IMP] add method exception
sebastienbeau Dec 18, 2020
e41b48f
[REF] Refactor test
sebastienbeau Dec 18, 2020
9c26945
[IMP] base_exception: log traceback when code exception is raised
ivantodorovich May 24, 2022
a9561b2
[MIG] base_exception: Migration to 15.0
cesar-tecnativa Jun 28, 2022
8f7c7ce
[UPD] Update base_exception.pot
Jul 12, 2022
0107a6f
[UPD] README.rst
OCA-git-bot Jul 12, 2022
af9ecca
[FIX] base_exception: add _popup_exceptions deleted in migration
MiquelRForgeFlow Jul 15, 2022
a5590b4
base_exception 15.0.1.0.1
OCA-git-bot Jul 15, 2022
300ed3f
[FIX] base_exception: Fix tests and add odoo_test_helper as dependency
CarlosRoca13 Aug 10, 2022
11934ae
base_exception 15.0.1.0.2
OCA-git-bot Aug 11, 2022
4704703
[MIG] base_exception: Migration to 16.0
matiasperalta1 Nov 16, 2022
f70f873
[UPD] Update base_exception.pot
Dec 30, 2022
0ca357e
[UPD] README.rst
OCA-git-bot Dec 30, 2022
201838f
base_exception 16.0.1.0.1
OCA-git-bot Dec 30, 2022
79e8585
Update translation files
weblate Dec 30, 2022
5d1f058
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
15f1493
Translated using Weblate (Italian)
francesco-ooops Jan 3, 2023
b92eb53
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 15, 2023
f5cc4c2
[16.0][IMP] base_exception: Improved wizard view
aliciagaarzo Feb 27, 2023
e23426a
Translated using Weblate (Italian)
mymage Mar 23, 2023
d30ff23
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 31, 2023
c09f1b7
Translated using Weblate (Italian)
mymage Apr 10, 2023
aa84851
Translated using Weblate (French)
glitchov Apr 19, 2023
87917c8
[UPD] Update base_exception.pot
Jun 7, 2023
8cc0dbc
Update translation files
weblate Jun 7, 2023
2140941
base_exception 16.0.1.0.2
OCA-git-bot Jul 4, 2023
f8094c9
[IMP] base_exception: One model per python file
lmignon Jul 4, 2023
bf77512
[IMP] base_exception: Improves performances
lmignon Jul 4, 2023
a3597cb
[IMP] base_exception: Improves performances
lmignon Jul 4, 2023
e2b5ae3
[IMP] base_exception: Improves performances
lmignon Jul 4, 2023
34a8889
Translated using Weblate (Spanish)
Ivorra78 Aug 25, 2023
ea3f45a
[UPD] README.rst
OCA-git-bot Sep 3, 2023
5cb656c
[UPD] Update base_exception.pot
Sep 4, 2023
b4c24e8
[UPD] README.rst
OCA-git-bot Sep 4, 2023
1b31ff4
base_exception 16.0.2.0.0
OCA-git-bot Sep 4, 2023
8b25e5d
[UPD] README.rst
OCA-git-bot Sep 4, 2023
c581ef9
Update translation files
weblate Sep 4, 2023
83d5a1f
[IMP] base_exception: pre-commit auto fixes
lef-adhoc Jan 16, 2024
7d0237f
[MIG] base_exception: Migration to 17.0
lef-adhoc Jan 16, 2024
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
116 changes: 116 additions & 0 deletions base_exception/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
==============
Exception Rule
==============

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

.. |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/licence-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/17.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-17-0/server-tools-17-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=17.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:%2017.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 <[email protected]>
- Renato Lima <[email protected]>
- Sébastien BEAU <[email protected]>
- Guewen Baconnier <[email protected]>
- Yannick Vaucher <[email protected]>
- SodexisTeam <[email protected]>
- Mourad EL HADJ MIMOUNE <[email protected]>
- Raphaël Reverdy <[email protected]>
- Iván Todorovich <[email protected]>
- Tecnativa <tecnativa.com>

- João Marques

- Kevin Khao <[email protected]>
- Laurent Mignon <[email protected]>

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/17.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
26 changes: 26 additions & 0 deletions base_exception/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
# Copyright 2017 Akretion (http://www.akretion.com)
# Mourad EL HADJ MIMOUNE <[email protected]>
# Copyright 2020 Hibou Corp.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Exception Rule",
"version": "17.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
Loading