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.
@@ -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:13dd07e09e3f8b870a45f3155c403c2146bc89b0394976b9113eed6bcf4ab478
10
+ !! source digest: sha256:6a52975332fa6be6e6e48ca12ee2efb6ef83e50d35265ff02c291a6f20acbe38
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -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.1",
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:13dd07e09e3f8b870a45f3155c403c2146bc89b0394976b9113eed6bcf4ab478
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&amp;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, TransactionCase, new_test_user, users
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(TransactionCase):
14
+ class TestRma(BaseCommon):
13
15
  @classmethod
14
16
  def setUpClass(cls):
15
17
  super().setUpClass()
16
- cls.env = cls.env(
17
- context=dict(
18
- cls.env.context,
19
- mail_create_nolog=True,
20
- mail_create_nosubscribe=True,
21
- mail_notrack=True,
22
- no_reset_password=True,
23
- tracking_disable=True,
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.1.1
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:13dd07e09e3f8b870a45f3155c403c2146bc89b0394976b9113eed6bcf4ab478
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=SplUPwq9_RuT89FK5Voxj0c0N5m1BffnY0Vjt1NUSt0,8237
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=PkhR4idbydnNv3vTX5VTorc0-zrkAgU6kXclUlo-jac,1527
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=rtbFKpGOAK1TAsM9VfX6rvbfpd_XJ_uJbZfiJhtLPEk,19205
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=h0vJN3MKYTnPs1EBo6bNk3kBNVQQ523k78Q4qVuNa5Q,37855
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.1.1.dist-info/METADATA,sha256=XQnWHNcgE_8ug6JdEO48nRQMB56zitDCTMDobQWPgQ4,8801
69
- odoo_addon_rma-16.0.3.5.1.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
70
- odoo_addon_rma-16.0.3.5.1.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
71
- odoo_addon_rma-16.0.3.5.1.1.dist-info/RECORD,,
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,,