odoo-addon-rma 15.0.1.3.0__py3-none-any.whl → 15.0.1.3.1__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 +5 -5
- odoo/addons/rma/__manifest__.py +2 -2
- odoo/addons/rma/models/stock_move.py +13 -1
- odoo/addons/rma/static/description/index.html +2 -2
- {odoo_addon_rma-15.0.1.3.0.dist-info → odoo_addon_rma-15.0.1.3.1.dist-info}/METADATA +6 -6
- {odoo_addon_rma-15.0.1.3.0.dist-info → odoo_addon_rma-15.0.1.3.1.dist-info}/RECORD +8 -8
- {odoo_addon_rma-15.0.1.3.0.dist-info → odoo_addon_rma-15.0.1.3.1.dist-info}/WHEEL +0 -0
- {odoo_addon_rma-15.0.1.3.0.dist-info → odoo_addon_rma-15.0.1.3.1.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:1db638c27efa0a82a032c20fd944afcebe24ea559f09fb95b0cdde7ab8df9b98
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
12
12
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
@@ -179,13 +179,13 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
179
179
|
mission is to support the collaborative development of Odoo features and
|
180
180
|
promote its widespread use.
|
181
181
|
|
182
|
-
.. |maintainer-
|
183
|
-
:target: https://github.com/
|
184
|
-
:alt:
|
182
|
+
.. |maintainer-chienandalu| image:: https://github.com/chienandalu.png?size=40px
|
183
|
+
:target: https://github.com/chienandalu
|
184
|
+
:alt: chienandalu
|
185
185
|
|
186
186
|
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
187
187
|
|
188
|
-
|maintainer-
|
188
|
+
|maintainer-chienandalu|
|
189
189
|
|
190
190
|
This module is part of the `OCA/rma <https://github.com/OCA/rma/tree/15.0/rma>`_ project on GitHub.
|
191
191
|
|
odoo/addons/rma/__manifest__.py
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
{
|
4
4
|
"name": "Return Merchandise Authorization Management",
|
5
5
|
"summary": "Return Merchandise Authorization (RMA)",
|
6
|
-
"version": "15.0.1.3.
|
6
|
+
"version": "15.0.1.3.1",
|
7
7
|
"development_status": "Production/Stable",
|
8
8
|
"category": "RMA",
|
9
9
|
"website": "https://github.com/OCA/rma",
|
10
10
|
"author": "Tecnativa, Odoo Community Association (OCA)",
|
11
|
-
"maintainers": ["
|
11
|
+
"maintainers": ["chienandalu"],
|
12
12
|
"license": "AGPL-3",
|
13
13
|
"depends": ["stock_account"],
|
14
14
|
"data": [
|
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
from odoo import _, api, fields, models
|
5
5
|
from odoo.exceptions import ValidationError
|
6
|
+
from odoo.tools import float_compare
|
6
7
|
|
7
8
|
|
8
9
|
class StockMove(models.Model):
|
@@ -59,7 +60,18 @@ class StockMove(models.Model):
|
|
59
60
|
"""
|
60
61
|
for move in self.filtered(lambda r: r.state not in ("done", "cancel")):
|
61
62
|
rma_receiver = move.sudo().rma_receiver_ids
|
62
|
-
|
63
|
+
qty_prec = self.env["decimal.precision"].precision_get(
|
64
|
+
"Product Unit of Measure"
|
65
|
+
)
|
66
|
+
if (
|
67
|
+
rma_receiver
|
68
|
+
and float_compare(
|
69
|
+
move.quantity_done,
|
70
|
+
rma_receiver.product_uom_qty,
|
71
|
+
precision_digits=qty_prec,
|
72
|
+
)
|
73
|
+
!= 0
|
74
|
+
):
|
63
75
|
raise ValidationError(
|
64
76
|
_(
|
65
77
|
"The quantity done for the product '%(id)s' must "
|
@@ -366,7 +366,7 @@ ul.auto-toc {
|
|
366
366
|
!! This file is generated by oca-gen-addon-readme !!
|
367
367
|
!! changes will be overwritten. !!
|
368
368
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
369
|
-
!! source digest: sha256:
|
369
|
+
!! source digest: sha256:1db638c27efa0a82a032c20fd944afcebe24ea559f09fb95b0cdde7ab8df9b98
|
370
370
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
371
371
|
<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/15.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-15-0/rma-15-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=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
372
372
|
<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>.
|
@@ -528,7 +528,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
528
528
|
mission is to support the collaborative development of Odoo features and
|
529
529
|
promote its widespread use.</p>
|
530
530
|
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
|
531
|
-
<p><a class="reference external image-reference" href="https://github.com/
|
531
|
+
<p><a class="reference external image-reference" href="https://github.com/chienandalu"><img alt="chienandalu" src="https://github.com/chienandalu.png?size=40px" /></a></p>
|
532
532
|
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/rma/tree/15.0/rma">OCA/rma</a> project on GitHub.</p>
|
533
533
|
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
534
534
|
</div>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-rma
|
3
|
-
Version: 15.0.1.3.
|
3
|
+
Version: 15.0.1.3.1
|
4
4
|
Summary: Return Merchandise Authorization (RMA)
|
5
5
|
Home-page: https://github.com/OCA/rma
|
6
6
|
Author: Tecnativa, Odoo Community Association (OCA)
|
@@ -24,7 +24,7 @@ Return Merchandise Authorization Management
|
|
24
24
|
!! This file is generated by oca-gen-addon-readme !!
|
25
25
|
!! changes will be overwritten. !!
|
26
26
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
27
|
-
!! source digest: sha256:
|
27
|
+
!! source digest: sha256:1db638c27efa0a82a032c20fd944afcebe24ea559f09fb95b0cdde7ab8df9b98
|
28
28
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
29
29
|
|
30
30
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
@@ -196,13 +196,13 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
196
196
|
mission is to support the collaborative development of Odoo features and
|
197
197
|
promote its widespread use.
|
198
198
|
|
199
|
-
.. |maintainer-
|
200
|
-
:target: https://github.com/
|
201
|
-
:alt:
|
199
|
+
.. |maintainer-chienandalu| image:: https://github.com/chienandalu.png?size=40px
|
200
|
+
:target: https://github.com/chienandalu
|
201
|
+
:alt: chienandalu
|
202
202
|
|
203
203
|
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
204
204
|
|
205
|
-
|maintainer-
|
205
|
+
|maintainer-chienandalu|
|
206
206
|
|
207
207
|
This module is part of the `OCA/rma <https://github.com/OCA/rma/tree/15.0/rma>`_ project on GitHub.
|
208
208
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
odoo/addons/rma/README.rst,sha256=
|
1
|
+
odoo/addons/rma/README.rst,sha256=Oo1NJb7a8jY7lNBzyfkdX1CAgZv2naF7xwt96JqXu_w,7737
|
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=d_ANPwM4d20tVwfAip4z83xFP2kWnqsJgeULcSAO4gY,1418
|
4
4
|
odoo/addons/rma/hooks.py,sha256=dUYhUPfUJRz33Ru_UUpHZSgYurSTwoHxUxoTfWksCOM,2825
|
5
5
|
odoo/addons/rma/controllers/__init__.py,sha256=ZAYSY9pxyJjumL2QVLuxqtBzjLwKPiQsVXMBAWvNGGY,85
|
6
6
|
odoo/addons/rma/controllers/main.py,sha256=ye0OSKRPZ6YhQzRt_Gv1W0Owd9_gdDScLhUu6ISvAps,5406
|
@@ -31,7 +31,7 @@ odoo/addons/rma/models/rma_finalization.py,sha256=kgJ6EFWBXJKGCwKy7bbWRUynExsCMQ
|
|
31
31
|
odoo/addons/rma/models/rma_operation.py,sha256=xbDjthojPoZpSpqKg3eNyYcctv40hPsmrFcUHV3BUyg,460
|
32
32
|
odoo/addons/rma/models/rma_tag.py,sha256=RVFLyo8XmgjK_ftrRHWiEtzUQGs4b-OMhg0hwr-5Rzw,833
|
33
33
|
odoo/addons/rma/models/rma_team.py,sha256=5gyghbFOE4RR6dR5TQ1lRC4kK88i6G51V3dlY9gN6EY,1935
|
34
|
-
odoo/addons/rma/models/stock_move.py,sha256=
|
34
|
+
odoo/addons/rma/models/stock_move.py,sha256=fKp4AVAdwVkUbY2wxUmNOhTFNj0xU6Dpq9DxMhKPrXM,5939
|
35
35
|
odoo/addons/rma/models/stock_picking.py,sha256=Wqdlb-eeYjUFLlxbdWt7rfr-VNLMZOmLTX3DU1CwTHE,1354
|
36
36
|
odoo/addons/rma/models/stock_warehouse.py,sha256=UUjcNdgsa3M8wRm0g6Yn88jTNiIuw1rTpYYIog1MRYc,5393
|
37
37
|
odoo/addons/rma/readme/CONFIGURE.rst,sha256=18sDF1e6lSdLnaWb6R1MVCgqT1-5QTaazG9HQKySdlg,796
|
@@ -43,7 +43,7 @@ odoo/addons/rma/report/report.xml,sha256=rMg9_lccL-dJClHvMCmRI1Feh499gnExeskIylc
|
|
43
43
|
odoo/addons/rma/security/ir.model.access.csv,sha256=zACDkLgOfICGiJGb4A9RNKbtlpBcFIC4rDZxESyBzbQ,1724
|
44
44
|
odoo/addons/rma/security/rma_security.xml,sha256=_tz_MXqW8bWfzGhgQ3pDI7xdx6tX321DrkIaRAd2W6E,5374
|
45
45
|
odoo/addons/rma/static/description/icon.png,sha256=0VH8J6xmJMYW0dBaW-Ts-Gm5oRvbf9mOglT4vqUKxdU,7450
|
46
|
-
odoo/addons/rma/static/description/index.html,sha256=
|
46
|
+
odoo/addons/rma/static/description/index.html,sha256=mH0bSfX5XUV_TcE_Lle9lYoO_Weinkf6trWUiQE1Q_8,18358
|
47
47
|
odoo/addons/rma/tests/__init__.py,sha256=Q2ntkew4ZtzTd3zhA1Ly6e-C1NrU6zIPUVEr7hDD-CY,89
|
48
48
|
odoo/addons/rma/tests/test_rma.py,sha256=wn5nlujtKt2wa2795J-UkzBTmKnVKiaKlyyqhVxKlWU,36103
|
49
49
|
odoo/addons/rma/views/menus.xml,sha256=KWrTOvwY6IB-liNjRvBxTkdCSkes-CMTFI0iakxoavE,603
|
@@ -66,7 +66,7 @@ odoo/addons/rma/wizard/rma_split.py,sha256=PZuVAGCXzRkycxJQIgfbPY__EPRXGPAkiKaGX
|
|
66
66
|
odoo/addons/rma/wizard/rma_split_views.xml,sha256=SR0UJalQ477unHk2i6DdKay6h2zvhCx0ySZQGtan5FE,1463
|
67
67
|
odoo/addons/rma/wizard/stock_picking_return.py,sha256=QY022secvc2uH284m2F9-_GscVKuSldY0HtYrBGefQk,3416
|
68
68
|
odoo/addons/rma/wizard/stock_picking_return_views.xml,sha256=hbbCMm5YOfKy6o5HIVVMXhUSmuMkHAriJ4V8-qy8j1c,1045
|
69
|
-
odoo_addon_rma-15.0.1.3.
|
70
|
-
odoo_addon_rma-15.0.1.3.
|
71
|
-
odoo_addon_rma-15.0.1.3.
|
72
|
-
odoo_addon_rma-15.0.1.3.
|
69
|
+
odoo_addon_rma-15.0.1.3.1.dist-info/METADATA,sha256=C2tM-K2ZfUD6jwDSmTZJH250kfyGAHrhv0ibw5UZe1Q,8319
|
70
|
+
odoo_addon_rma-15.0.1.3.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
71
|
+
odoo_addon_rma-15.0.1.3.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
72
|
+
odoo_addon_rma-15.0.1.3.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|