odoo-addon-rma 16.0.3.5.1.1__py3-none-any.whl → 16.0.3.5.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/rma/README.rst +1 -1
- odoo/addons/rma/__manifest__.py +1 -1
- odoo/addons/rma/static/description/index.html +1 -1
- odoo/addons/rma/tests/test_rma.py +14 -12
- {odoo_addon_rma-16.0.3.5.1.1.dist-info → odoo_addon_rma-16.0.3.5.2.dist-info}/METADATA +2 -2
- {odoo_addon_rma-16.0.3.5.1.1.dist-info → odoo_addon_rma-16.0.3.5.2.dist-info}/RECORD +8 -8
- {odoo_addon_rma-16.0.3.5.1.1.dist-info → odoo_addon_rma-16.0.3.5.2.dist-info}/WHEEL +0 -0
- {odoo_addon_rma-16.0.3.5.1.1.dist-info → odoo_addon_rma-16.0.3.5.2.dist-info}/top_level.txt +0 -0
odoo/addons/rma/README.rst
CHANGED
@@ -7,7 +7,7 @@ Return Merchandise Authorization Management
|
|
7
7
|
!! This file is generated by oca-gen-addon-readme !!
|
8
8
|
!! changes will be overwritten. !!
|
9
9
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
10
|
-
!! source digest: sha256:
|
10
|
+
!! source digest: sha256:6a52975332fa6be6e6e48ca12ee2efb6ef83e50d35265ff02c291a6f20acbe38
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
12
12
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
odoo/addons/rma/__manifest__.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
{
|
6
6
|
"name": "Return Merchandise Authorization Management",
|
7
7
|
"summary": "Return Merchandise Authorization (RMA)",
|
8
|
-
"version": "16.0.3.5.
|
8
|
+
"version": "16.0.3.5.2",
|
9
9
|
"development_status": "Production/Stable",
|
10
10
|
"category": "RMA",
|
11
11
|
"website": "https://github.com/OCA/rma",
|
@@ -367,7 +367,7 @@ ul.auto-toc {
|
|
367
367
|
!! This file is generated by oca-gen-addon-readme !!
|
368
368
|
!! changes will be overwritten. !!
|
369
369
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
370
|
-
!! source digest: sha256:
|
370
|
+
!! source digest: sha256:6a52975332fa6be6e6e48ca12ee2efb6ef83e50d35265ff02c291a6f20acbe38
|
371
371
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
372
372
|
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/rma/tree/16.0/rma"><img alt="OCA/rma" src="https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/rma&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
373
373
|
<p>This module allows you to manage <a class="reference external" href="https://en.wikipedia.org/wiki/Return_merchandise_authorization">Return Merchandise Authorization (RMA)</a>.
|
@@ -3,26 +3,27 @@
|
|
3
3
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
4
4
|
|
5
5
|
from odoo.exceptions import UserError, ValidationError
|
6
|
-
from odoo.tests import Form,
|
6
|
+
from odoo.tests import Form, new_test_user, tagged, users
|
7
7
|
from odoo.tools import mute_logger
|
8
8
|
|
9
|
+
from odoo.addons.base.tests.common import BaseCommon
|
10
|
+
|
9
11
|
from .. import hooks
|
10
12
|
|
11
13
|
|
12
|
-
class TestRma(
|
14
|
+
class TestRma(BaseCommon):
|
13
15
|
@classmethod
|
14
16
|
def setUpClass(cls):
|
15
17
|
super().setUpClass()
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
)
|
25
|
-
)
|
18
|
+
if not cls.env.company.chart_template_id:
|
19
|
+
# Load a CoA if there's none in current company
|
20
|
+
coa = cls.env.ref("l10n_generic_coa.configurable_chart_template", False)
|
21
|
+
if not coa:
|
22
|
+
# Load the first available CoA
|
23
|
+
coa = cls.env["account.chart.template"].search(
|
24
|
+
[("visible", "=", True)], limit=1
|
25
|
+
)
|
26
|
+
coa.try_loading(company=cls.env.company, install_demo=False)
|
26
27
|
cls.user_rma = new_test_user(
|
27
28
|
cls.env,
|
28
29
|
login="user_rma",
|
@@ -141,6 +142,7 @@ class TestRma(TransactionCase):
|
|
141
142
|
return picking
|
142
143
|
|
143
144
|
|
145
|
+
@tagged("-at_install", "post_install")
|
144
146
|
class TestRmaCase(TestRma):
|
145
147
|
def test_post_init_hook(self):
|
146
148
|
warehouse = self.env["stock.warehouse"].create(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-rma
|
3
|
-
Version: 16.0.3.5.
|
3
|
+
Version: 16.0.3.5.2
|
4
4
|
Summary: Return Merchandise Authorization (RMA)
|
5
5
|
Home-page: https://github.com/OCA/rma
|
6
6
|
Author: Tecnativa, Odoo Community Association (OCA)
|
@@ -23,7 +23,7 @@ Return Merchandise Authorization Management
|
|
23
23
|
!! This file is generated by oca-gen-addon-readme !!
|
24
24
|
!! changes will be overwritten. !!
|
25
25
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
26
|
-
!! source digest: sha256:
|
26
|
+
!! source digest: sha256:6a52975332fa6be6e6e48ca12ee2efb6ef83e50d35265ff02c291a6f20acbe38
|
27
27
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
28
28
|
|
29
29
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
@@ -1,6 +1,6 @@
|
|
1
|
-
odoo/addons/rma/README.rst,sha256=
|
1
|
+
odoo/addons/rma/README.rst,sha256=Mx67PjfW7v0wvzPFP391amhyDHY8IkqKeakorok-D00,8237
|
2
2
|
odoo/addons/rma/__init__.py,sha256=KD8ElbTlUwRgGDQzvMIqp-WeEXGTuHqQT352BCbK2I0,168
|
3
|
-
odoo/addons/rma/__manifest__.py,sha256=
|
3
|
+
odoo/addons/rma/__manifest__.py,sha256=9zfu0UmACag2Vu7nR9ljhcgdc3l9ADZVbsRowZrAjwY,1527
|
4
4
|
odoo/addons/rma/hooks.py,sha256=Zd5KcqVj_ONKV-GyrZiXOAmdRGBRRczJGdhrgUrzY_s,3320
|
5
5
|
odoo/addons/rma/controllers/__init__.py,sha256=ZAYSY9pxyJjumL2QVLuxqtBzjLwKPiQsVXMBAWvNGGY,85
|
6
6
|
odoo/addons/rma/controllers/main.py,sha256=lmi25T49fDnCoUSqqr8eibwVXa6lMANwbkFuHhUxgZg,5426
|
@@ -42,9 +42,9 @@ odoo/addons/rma/report/report.xml,sha256=rMg9_lccL-dJClHvMCmRI1Feh499gnExeskIylc
|
|
42
42
|
odoo/addons/rma/security/ir.model.access.csv,sha256=zACDkLgOfICGiJGb4A9RNKbtlpBcFIC4rDZxESyBzbQ,1724
|
43
43
|
odoo/addons/rma/security/rma_security.xml,sha256=_tz_MXqW8bWfzGhgQ3pDI7xdx6tX321DrkIaRAd2W6E,5374
|
44
44
|
odoo/addons/rma/static/description/icon.png,sha256=0VH8J6xmJMYW0dBaW-Ts-Gm5oRvbf9mOglT4vqUKxdU,7450
|
45
|
-
odoo/addons/rma/static/description/index.html,sha256=
|
45
|
+
odoo/addons/rma/static/description/index.html,sha256=V-xYN2sfDyfMQGAU3h3kYyF3xwyOWjk7w3WAKUip0kw,19205
|
46
46
|
odoo/addons/rma/tests/__init__.py,sha256=Q2ntkew4ZtzTd3zhA1Ly6e-C1NrU6zIPUVEr7hDD-CY,89
|
47
|
-
odoo/addons/rma/tests/test_rma.py,sha256=
|
47
|
+
odoo/addons/rma/tests/test_rma.py,sha256=ftXjkxAGZGvGmQNUVzNlYWzhykNkAzO-fN1Bb2M_vP8,38099
|
48
48
|
odoo/addons/rma/views/menus.xml,sha256=KWrTOvwY6IB-liNjRvBxTkdCSkes-CMTFI0iakxoavE,603
|
49
49
|
odoo/addons/rma/views/report_rma.xml,sha256=scWiOVovRPdNZWJgHmj7930wRaQ80ZIOz3GWygXN3yk,6579
|
50
50
|
odoo/addons/rma/views/res_config_settings_views.xml,sha256=BgV6WqRHDe2e3773wCHGyclQ0hh47_ZZsHo062V992w,9436
|
@@ -65,7 +65,7 @@ odoo/addons/rma/wizard/rma_split.py,sha256=PZuVAGCXzRkycxJQIgfbPY__EPRXGPAkiKaGX
|
|
65
65
|
odoo/addons/rma/wizard/rma_split_views.xml,sha256=jtrUmgS9rsUfbgx6y77cUXPnmd1ObY7lmQ_8XZDxxuo,1581
|
66
66
|
odoo/addons/rma/wizard/stock_picking_return.py,sha256=vGV5hSettscItmDRA8xmpuPE0v0r8q8uOSTiSy6El8E,7119
|
67
67
|
odoo/addons/rma/wizard/stock_picking_return_views.xml,sha256=NNnHzPR419GuIikwmJym4YZ-EVoPS6lG2G0XNX_4vLc,1677
|
68
|
-
odoo_addon_rma-16.0.3.5.
|
69
|
-
odoo_addon_rma-16.0.3.5.
|
70
|
-
odoo_addon_rma-16.0.3.5.
|
71
|
-
odoo_addon_rma-16.0.3.5.
|
68
|
+
odoo_addon_rma-16.0.3.5.2.dist-info/METADATA,sha256=wB2JIyeohX30i3uUdBuSbAsyP0tuvcsU9nS77AC2WCA,8799
|
69
|
+
odoo_addon_rma-16.0.3.5.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
70
|
+
odoo_addon_rma-16.0.3.5.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
71
|
+
odoo_addon_rma-16.0.3.5.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|