Skip to content

Commit f9ad522

Browse files
JordiBForgeFlowmourad-ehm
authored andcommitted
style fixes
1 parent 37472b9 commit f9ad522

File tree

10 files changed

+23
-35
lines changed

10 files changed

+23
-35
lines changed

base_exception/README.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
2-
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2+
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html
33
:alt: License: AGPL-3
44

55
==============
66
Base Exception
77
==============
88

9-
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).
9+
This module provide an abstract model to manage customizable
10+
exceptions to be applied on different models (sale order, invoice, ...).
11+
12+
It is not useful for itself. You can see an example of implementation
13+
in the 'sale_exception' module. (sale-workflow repository) or
14+
'purchase_exception' module (purchase-workflow repository).
1015

1116
Usage
1217
=====
1318

1419
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
1520
:alt: Try me on Runbot
16-
:target: https://runbot.odoo-community.org/runbot/149/10.0
21+
:target: https://runbot.odoo-community.org/runbot/149/11.0
1722

1823

1924
Bug Tracker
@@ -22,11 +27,7 @@ Bug Tracker
2227
Bugs are tracked on `GitHub Issues
2328
<https://github.com/OCA/server-tools/issues>`_. In case of trouble, please
2429
check there if your issue has already been reported. If you spotted it first,
25-
help us smashing it by providing a detailed and welcomed `feedback
26-
<https://github.com/OCA/
27-
server-tools/issues/new?body=module:%20
28-
base_exception%0Aversion:%20
29-
10.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
30+
help us smash it by providing detailed and welcomed feedback.
3031

3132
Images
3233
------

base_exception/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# -*- coding: utf-8 -*-
2-
# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
3-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
1+
# Copyright 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
43

54
from . import wizard, models
65
from .tests import test_tmp_model

base_exception/__manifest__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# -*- coding: utf-8 -*-
2-
# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
3-
# © 2017 Akretion (http://www.akretion.com)
1+
# Copyright 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
2+
# Copyright 2017 Akretion (http://www.akretion.com)
43
# Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
5-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
65

76
{
87
'name': 'Exception Rule',

base_exception/models/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
# -*- coding: utf-8 -*-
2-
# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
3-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
41

52
from . import base_exception

base_exception/models/base_exception.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# -*- coding: utf-8 -*-
2-
# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
3-
# © 2017 Akretion (http://www.akretion.com)
1+
# Copyright 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
2+
# Copyright 2017 Akretion (http://www.akretion.com)
43
# Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
5-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
65

76
import time
87
from functools import wraps

base_exception/tests/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21

32
from . import test_tmp_model
43
from . import test_base_exception

base_exception/tests/test_base_exception.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# -*- coding: utf-8 -*-
2-
# © 2016 Akretion Mourad EL HADJ MIMOUNE
3-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
1+
# Copyright 2016 Akretion Mourad EL HADJ MIMOUNE
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
43

54
from odoo.tests import common
65

base_exception/tests/test_tmp_model.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# -*- coding: utf-8 -*-
2-
# © 2017 Akretion (http://www.akretion.com)
1+
# Copyright 2017 Akretion (http://www.akretion.com)
32
# Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
43

54
from odoo import fields, models, api

base_exception/wizard/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
# -*- coding: utf-8 -*-
2-
# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
3-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
41

52
from . import base_exception_confirm

base_exception/wizard/base_exception_confirm.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# -*- coding: utf-8 -*-
2-
# © 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
3-
# © 2017 Akretion (http://www.akretion.com)
1+
# Copyright 2011 Raphaël Valyi, Renato Lima, Guewen Baconnier, Sodexis
2+
# Copyright 2017 Akretion (http://www.akretion.com)
43
# Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
5-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
65

76
from odoo import api, fields, models
87

0 commit comments

Comments
 (0)