Skip to content

Commit 992cee3

Browse files
committed
Merge PR #3417 into 19.0
Signed-off-by sebalix
2 parents dba763d + 8a64493 commit 992cee3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+23774
-0
lines changed

base_exception/README.rst

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
5+
==============
6+
Exception Rule
7+
==============
8+
9+
..
10+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
!! This file is generated by oca-gen-addon-readme !!
12+
!! changes will be overwritten. !!
13+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14+
!! source digest: sha256:d1ed01cf065908a53b1a57529a5a8d7dcfcd705e526291146f3a5e65f50f9279
15+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16+
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
18+
:target: https://odoo-community.org/page/development-status
19+
:alt: Mature
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
21+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
22+
:alt: License: AGPL-3
23+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
24+
:target: https://github.com/OCA/server-tools/tree/19.0/base_exception
25+
:alt: OCA/server-tools
26+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27+
:target: https://translation.odoo-community.org/projects/server-tools-19-0/server-tools-19-0-base_exception
28+
:alt: Translate me on Weblate
29+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=19.0
31+
:alt: Try me on Runboat
32+
33+
|badge1| |badge2| |badge3| |badge4| |badge5|
34+
35+
This module provide an abstract model to manage customizable exceptions
36+
to be applied on different models (sale order, invoice, ...).
37+
38+
It is not useful by itself. You can see an example of implementation in
39+
the 'sale_exception' module. (sale-workflow repository) or
40+
'purchase_exception' module (purchase-workflow repository).
41+
42+
**Table of contents**
43+
44+
.. contents::
45+
:local:
46+
47+
Known issues / Roadmap
48+
======================
49+
50+
This module executes user-provided code though a safe_eval which might
51+
be unsecure. How to mitigate risks should be adressed in future versions
52+
of this module.
53+
54+
Bug Tracker
55+
===========
56+
57+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
58+
In case of trouble, please check there if your issue has already been reported.
59+
If you spotted it first, help us to smash it by providing a detailed and welcomed
60+
`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**>`_.
61+
62+
Do not contact contributors directly about support or help with technical issues.
63+
64+
Credits
65+
=======
66+
67+
Authors
68+
-------
69+
70+
* Akretion
71+
* Sodexis
72+
* Camptocamp
73+
* ACSONE SA/NV
74+
75+
Contributors
76+
------------
77+
78+
- Raphaël Valyi <raphael.valyi@akretion.com>
79+
- Renato Lima <renato.lima@akretion.com>
80+
- Sébastien BEAU <sebastien.beau@akretion.com>
81+
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
82+
- Yannick Vaucher <yannick.vaucher@camptocamp.com>
83+
- SodexisTeam <dev@sodexis.com>
84+
- Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
85+
- Raphaël Reverdy <raphael.reverdy@akretion.com>
86+
- Iván Todorovich <ivan.todorovich@druidoo.io>
87+
- Tecnativa <tecnativa.com>
88+
89+
- João Marques
90+
91+
- Kevin Khao <kevin.khao@akretion.com>
92+
- Laurent Mignon <laurent.mignon@acsone.eu>
93+
- Do Anh Duy <duyda@trobz.com>
94+
95+
Other credits
96+
-------------
97+
98+
The migration of this module from 17.0 to 18.0 was financially supported
99+
by Camptocamp.
100+
101+
Maintainers
102+
-----------
103+
104+
This module is maintained by the OCA.
105+
106+
.. image:: https://odoo-community.org/logo.png
107+
:alt: Odoo Community Association
108+
:target: https://odoo-community.org
109+
110+
OCA, or the Odoo Community Association, is a nonprofit organization whose
111+
mission is to support the collaborative development of Odoo features and
112+
promote its widespread use.
113+
114+
.. |maintainer-hparfr| image:: https://github.com/hparfr.png?size=40px
115+
:target: https://github.com/hparfr
116+
:alt: hparfr
117+
.. |maintainer-sebastienbeau| image:: https://github.com/sebastienbeau.png?size=40px
118+
:target: https://github.com/sebastienbeau
119+
:alt: sebastienbeau
120+
121+
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
122+
123+
|maintainer-hparfr| |maintainer-sebastienbeau|
124+
125+
This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/19.0/base_exception>`_ project on GitHub.
126+
127+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

base_exception/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import wizard, models

base_exception/__manifest__.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
2+
# Copyright 2017 Akretion (http://www.akretion.com)
3+
# Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
4+
# Copyright 2020 Hibou Corp.
5+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
6+
{
7+
"name": "Exception Rule",
8+
"version": "19.0.1.0.0",
9+
"development_status": "Mature",
10+
"category": "Generic Modules",
11+
"summary": """
12+
This module provide an abstract model to manage customizable
13+
exceptions to be applied on different models (sale order, invoice, ...)""",
14+
"author": """Akretion, Sodexis, Camptocamp,
15+
ACSONE SA/NV, Odoo Community Association (OCA)""",
16+
"website": "https://github.com/OCA/server-tools",
17+
"depends": ["base_setup"],
18+
"maintainers": ["hparfr", "sebastienbeau"],
19+
"license": "AGPL-3",
20+
"data": [
21+
"security/base_exception_security.xml",
22+
"security/ir.model.access.csv",
23+
"wizard/base_exception_confirm_view.xml",
24+
"views/base_exception_view.xml",
25+
],
26+
"installable": True,
27+
}

0 commit comments

Comments
 (0)