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 #2761

Closed
wants to merge 65 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
8c1d0c3
[ADD] split module sale_exception into base_exception
mourad-ehm Feb 21, 2017
f938eb1
[FIX] base_exception: '_check_exception' is 'api.multi' since it's ca…
lmignon Jun 9, 2017
b5f622c
[MIG] base_exception: Migration to 11.0
mourad-ehm Oct 13, 2017
6c30411
[FIX] temp model test access rule & fix OCA remarks
mourad-ehm Nov 24, 2017
420764e
[FIX] Enable post_install for tests + pylint
astirpe Feb 15, 2018
13b4eed
[IMP] Update base_exception views
ivantodorovich Oct 25, 2018
0d4ed28
FIX remove old api parameters in base_exception
bealdav Nov 19, 2018
34a110b
[FIX] base_exception: send the active_model in the conxtext when call…
nicomacr Apr 1, 2019
82ffdb2
[MIG] base_exception: Migration to 12.0
ivantodorovich Apr 9, 2019
eb08679
[WIP] sale_exception_by_domain
mourad-ehm Mar 23, 2018
4cd9da7
FIX self[0] in _rule_group
ivantodorovich Apr 9, 2019
bf9dfc4
[MIG] dict.iteritems() does not exist in Python3
ivantodorovich Apr 9, 2019
34b5d12
[IMP] Add convenience action to ignore exceptions on record
Jun 18, 2019
0ef4c2e
[IMP] base_exception: black, isort
jaredkipe Mar 13, 2020
da31985
[MIG] base_exception: Migration to 13.0
jaredkipe Mar 13, 2020
60fcd76
[UPD] Update base_exception.pot
oca-travis Nov 4, 2020
fb76ad1
[IMP] base_exception: black, isort, prettify
kevinkhao Nov 24, 2020
ca0f7f5
[14.0][MIG] base_exception: Migration to 14.0
kevinkhao Nov 24, 2020
43e355e
[UPD] README.rst
OCA-git-bot Nov 30, 2020
eca55e3
[FIX] fix access right
sebastienbeau Feb 3, 2021
48f58ae
[FIX] base_exception: import correctly osv.expression
MiquelRForgeFlow Apr 14, 2021
6bd4d7b
[14.0][FIX] base_exception, error if rule's description is null
kittiu Aug 1, 2021
92668b9
[UPD] Update base_exception.pot
oca-travis Sep 2, 2021
0ceaca5
[IMP] base_exception: Allow to skip exception checks through context
ivantodorovich Oct 27, 2021
411bb82
[13.0][fix][base_exception] search only active exception rules
JordiBForgeFlow Mar 15, 2021
8f8a255
[13.0][IMP] base_exception add blocking exceptions
TDu Mar 24, 2021
8b7974d
[IMP] base_exception: test blocking exceptions
hailangvn Oct 29, 2021
ad001fb
[IMP] add method exception
sebastienbeau Dec 18, 2020
66216bc
[REF] Refactor test
sebastienbeau Dec 18, 2020
d235ac5
[IMP] base_exception: log traceback when code exception is raised
ivantodorovich May 24, 2022
f896bd1
[MIG] base_exception: Migration to 15.0
cesar-tecnativa Jun 28, 2022
307285f
[UPD] Update base_exception.pot
Jul 12, 2022
f387379
[UPD] README.rst
OCA-git-bot Jul 12, 2022
c3f1d00
[FIX] base_exception: add _popup_exceptions deleted in migration
MiquelRForgeFlow Jul 15, 2022
df02a7d
base_exception 15.0.1.0.1
OCA-git-bot Jul 15, 2022
aeaec7e
[FIX] base_exception: Fix tests and add odoo_test_helper as dependency
CarlosRoca13 Aug 10, 2022
8291e4e
base_exception 15.0.1.0.2
OCA-git-bot Aug 11, 2022
f628a28
[MIG] base_exception: Migration to 16.0
matiasperalta1 Nov 16, 2022
822a481
[UPD] Update base_exception.pot
Dec 30, 2022
316979d
[UPD] README.rst
OCA-git-bot Dec 30, 2022
8de8c73
base_exception 16.0.1.0.1
OCA-git-bot Dec 30, 2022
48c373e
Update translation files
weblate Dec 30, 2022
8639531
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
5549579
Translated using Weblate (Italian)
francesco-ooops Jan 3, 2023
0de3b53
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 15, 2023
000d216
[16.0][IMP] base_exception: Improved wizard view
aliciagaarzo Feb 27, 2023
fe62c08
Translated using Weblate (Italian)
mymage Mar 23, 2023
e614add
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 31, 2023
02d70f6
Translated using Weblate (Italian)
mymage Apr 10, 2023
753976d
Translated using Weblate (French)
glitchov Apr 19, 2023
0e6574a
[UPD] Update base_exception.pot
Jun 7, 2023
65dfab7
Update translation files
weblate Jun 7, 2023
603a392
base_exception 16.0.1.0.2
OCA-git-bot Jul 4, 2023
e0b20d8
[IMP] base_exception: One model per python file
lmignon Jul 4, 2023
bac554f
[IMP] base_exception: Improves performances
lmignon Jul 4, 2023
7ac5387
[IMP] base_exception: Improves performances
lmignon Jul 4, 2023
e4b516f
[IMP] base_exception: Improves performances
lmignon Jul 4, 2023
887f6a6
Translated using Weblate (Spanish)
Ivorra78 Aug 25, 2023
7f7f144
[UPD] README.rst
OCA-git-bot Sep 3, 2023
0c016fe
[UPD] Update base_exception.pot
Sep 4, 2023
d61a543
[UPD] README.rst
OCA-git-bot Sep 4, 2023
d104808
base_exception 16.0.2.0.0
OCA-git-bot Sep 4, 2023
22f41c8
[UPD] README.rst
OCA-git-bot Sep 4, 2023
710f8e5
Update translation files
weblate Sep 4, 2023
bc734e6
[MIG] base_exception: Migration to 17.0
peluko00 Nov 20, 2023
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
119 changes: 119 additions & 0 deletions base_exception/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
==============
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 <<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>>
- [APSL](https://apsl.tech):

- Antoni Marroig <toni.marroig1@gmail.com>

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 <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": "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