diff --git a/base_exception/README.rst b/base_exception/README.rst index 9a34bdfed..6c09516d3 100644 --- a/base_exception/README.rst +++ b/base_exception/README.rst @@ -1,19 +1,24 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 ============== Base Exception ============== -This module provide an abstract model to manage customizable exceptions to be applied on different models (sale order, invoice, ...). It is not usefull for itself. You can see an example of implementation in the 'sale_exception' module. (sale-workflow repository). +This module provide an abstract model to manage customizable +exceptions to be applied on different models (sale order, invoice, ...). + +It is not useful for itself. You can see an example of implementation +in the 'sale_exception' module. (sale-workflow repository) or +'purchase_exception' module (purchase-workflow repository). Usage ===== .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/149/10.0 + :target: https://runbot.odoo-community.org/runbot/149/11.0 Bug Tracker @@ -22,11 +27,7 @@ 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 -`_. +help us smash it by providing detailed and welcomed feedback. Images ------ diff --git a/base_exception/__init__.py b/base_exception/__init__.py index 6aa85e87f..7f16dfdc2 100644 --- a/base_exception/__init__.py +++ b/base_exception/__init__.py @@ -1,6 +1,5 @@ -# -*- coding: utf-8 -*- -# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from . import wizard, models from .tests import test_tmp_model diff --git a/base_exception/__manifest__.py b/base_exception/__manifest__.py index 2bece70df..35e2c0be2 100644 --- a/base_exception/__manifest__.py +++ b/base_exception/__manifest__.py @@ -1,8 +1,7 @@ -# -*- coding: utf-8 -*- -# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis -# © 2017 Akretion (http://www.akretion.com) +# Copyright 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis +# Copyright 2017 Akretion (http://www.akretion.com) # Mourad EL HADJ MIMOUNE -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { 'name': 'Exception Rule', diff --git a/base_exception/models/__init__.py b/base_exception/models/__init__.py index 5f94bb885..ae49ca9d5 100644 --- a/base_exception/models/__init__.py +++ b/base_exception/models/__init__.py @@ -1,5 +1,2 @@ -# -*- coding: utf-8 -*- -# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import base_exception diff --git a/base_exception/models/base_exception.py b/base_exception/models/base_exception.py index d3179d943..0eebb72cf 100644 --- a/base_exception/models/base_exception.py +++ b/base_exception/models/base_exception.py @@ -1,8 +1,7 @@ -# -*- coding: utf-8 -*- -# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis -# © 2017 Akretion (http://www.akretion.com) +# Copyright 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis +# Copyright 2017 Akretion (http://www.akretion.com) # Mourad EL HADJ MIMOUNE -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). import time from functools import wraps diff --git a/base_exception/tests/__init__.py b/base_exception/tests/__init__.py index 82b394b93..e817e312c 100644 --- a/base_exception/tests/__init__.py +++ b/base_exception/tests/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- from . import test_tmp_model from . import test_base_exception diff --git a/base_exception/tests/test_base_exception.py b/base_exception/tests/test_base_exception.py index d99f435a2..e8f57d751 100644 --- a/base_exception/tests/test_base_exception.py +++ b/base_exception/tests/test_base_exception.py @@ -1,6 +1,5 @@ -# -*- coding: utf-8 -*- -# © 2016 Akretion Mourad EL HADJ MIMOUNE -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2016 Akretion Mourad EL HADJ MIMOUNE +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo.tests import common diff --git a/base_exception/tests/test_tmp_model.py b/base_exception/tests/test_tmp_model.py index 40c1b7c38..a07367878 100644 --- a/base_exception/tests/test_tmp_model.py +++ b/base_exception/tests/test_tmp_model.py @@ -1,5 +1,4 @@ -# -*- coding: utf-8 -*- -# © 2017 Akretion (http://www.akretion.com) +# Copyright 2017 Akretion (http://www.akretion.com) # Mourad EL HADJ MIMOUNE from odoo import fields, models, api diff --git a/base_exception/wizard/__init__.py b/base_exception/wizard/__init__.py index 613ae2e30..6987f7c00 100644 --- a/base_exception/wizard/__init__.py +++ b/base_exception/wizard/__init__.py @@ -1,5 +1,2 @@ -# -*- coding: utf-8 -*- -# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import base_exception_confirm diff --git a/base_exception/wizard/base_exception_confirm.py b/base_exception/wizard/base_exception_confirm.py index 2a8365a4c..9cb207f62 100644 --- a/base_exception/wizard/base_exception_confirm.py +++ b/base_exception/wizard/base_exception_confirm.py @@ -1,8 +1,7 @@ -# -*- coding: utf-8 -*- -# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis -# © 2017 Akretion (http://www.akretion.com) +# Copyright 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis +# Copyright 2017 Akretion (http://www.akretion.com) # Mourad EL HADJ MIMOUNE -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import api, fields, models diff --git a/base_exception/wizard/base_exception_confirm_view.xml b/base_exception/wizard/base_exception_confirm_view.xml index 76dfffa81..e100c7ac6 100644 --- a/base_exception/wizard/base_exception_confirm_view.xml +++ b/base_exception/wizard/base_exception_confirm_view.xml @@ -4,7 +4,7 @@ Exceptions Rules exception.rule.confirm -
+ @@ -13,18 +13,20 @@ + +
- Blocked in draft due to exceptions + Outstanding exceptions to manage ir.actions.act_window exception.rule.confirm form