odoo-addon-rma 17.0.1.1.1__py3-none-any.whl → 17.0.2.0.0.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 +6 -1
- odoo/addons/rma/__manifest__.py +1 -1
- odoo/addons/rma/hooks.py +12 -1
- odoo/addons/rma/i18n/de.po +22 -0
- odoo/addons/rma/i18n/de_AT.po +22 -0
- odoo/addons/rma/i18n/es.po +22 -0
- odoo/addons/rma/i18n/fr.po +22 -0
- odoo/addons/rma/i18n/it.po +22 -0
- odoo/addons/rma/i18n/nl.po +22 -0
- odoo/addons/rma/i18n/pt.po +22 -0
- odoo/addons/rma/i18n/pt_BR.po +22 -0
- odoo/addons/rma/i18n/rma.pot +22 -0
- odoo/addons/rma/i18n/ro.po +22 -0
- odoo/addons/rma/i18n/zh_CN.po +22 -0
- odoo/addons/rma/migrations/17.0.1.2.0/post-migration.py +17 -0
- odoo/addons/rma/models/res_partner.py +1 -1
- odoo/addons/rma/models/rma.py +241 -276
- odoo/addons/rma/models/stock_move.py +17 -32
- odoo/addons/rma/models/stock_warehouse.py +100 -25
- odoo/addons/rma/readme/CONTRIBUTORS.md +1 -0
- odoo/addons/rma/readme/ROADMAP.md +3 -0
- odoo/addons/rma/static/description/index.html +5 -1
- odoo/addons/rma/tests/test_rma.py +78 -21
- odoo/addons/rma/wizard/stock_picking_return.py +90 -13
- odoo/addons/rma/wizard/stock_picking_return_views.xml +1 -0
- {odoo_addon_rma-17.0.1.1.1.dist-info → odoo_addon_rma-17.0.2.0.0.1.dist-info}/METADATA +7 -2
- {odoo_addon_rma-17.0.1.1.1.dist-info → odoo_addon_rma-17.0.2.0.0.1.dist-info}/RECORD +29 -28
- {odoo_addon_rma-17.0.1.1.1.dist-info → odoo_addon_rma-17.0.2.0.0.1.dist-info}/WHEEL +0 -0
- {odoo_addon_rma-17.0.1.1.1.dist-info → odoo_addon_rma-17.0.2.0.0.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:8f36869aece97a0f6af8aa5d76b446e9cf0bd589d914c1f5e12c628e87317021
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
12
12
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
@@ -140,6 +140,9 @@ Known issues / Roadmap
|
|
140
140
|
- As soon as the picking is selected, the user should select the move,
|
141
141
|
but perhaps stock.move \_rec_name could be improved to better show
|
142
142
|
what the product of that move is.
|
143
|
+
- Add RMA reception and/or RMA delivery on several steps - 2 or 3 -
|
144
|
+
like normal receptions/deliveries. It should be a separate option
|
145
|
+
inside the warehouse definition.
|
143
146
|
|
144
147
|
Bug Tracker
|
145
148
|
===========
|
@@ -175,6 +178,8 @@ Contributors
|
|
175
178
|
|
176
179
|
- Antoni Marroig <amarroig@apsl.net>
|
177
180
|
|
181
|
+
- Michael Tietz (MT Software) mtietz@mt-software.de
|
182
|
+
|
178
183
|
Maintainers
|
179
184
|
-----------
|
180
185
|
|
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": "17.0.
|
8
|
+
"version": "17.0.2.0.0",
|
9
9
|
"development_status": "Production/Stable",
|
10
10
|
"category": "RMA",
|
11
11
|
"website": "https://github.com/OCA/rma",
|
odoo/addons/rma/hooks.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# Copyright 2020 Tecnativa - Ernesto Tejeda
|
2
|
+
# Copyright 2023 Michael Tietz (MT Software) <mtietz@mt-software.de>
|
2
3
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
3
4
|
|
4
5
|
|
@@ -20,7 +21,9 @@ def post_init_hook(env):
|
|
20
21
|
def create_rma_locations(warehouse):
|
21
22
|
stock_location = env["stock.location"]
|
22
23
|
if not warehouse.rma_loc_id:
|
23
|
-
rma_location_vals = warehouse._get_rma_location_values(
|
24
|
+
rma_location_vals = warehouse._get_rma_location_values(
|
25
|
+
{"company_id": warehouse.company_id.id}, warehouse.code
|
26
|
+
)
|
24
27
|
warehouse.rma_loc_id = (
|
25
28
|
stock_location.with_context(active_test=False)
|
26
29
|
.create(rma_location_vals)
|
@@ -57,11 +60,19 @@ def post_init_hook(env):
|
|
57
60
|
whs.rma_in_type_id.return_picking_type_id = whs.rma_out_type_id.id
|
58
61
|
whs.rma_out_type_id.return_picking_type_id = whs.rma_in_type_id.id
|
59
62
|
|
63
|
+
def create_rma_routes(warehouses):
|
64
|
+
"""Create initially rma in/out stock.location.routes and stock.rules"""
|
65
|
+
warehouses = warehouses.with_context(rma_post_init_hook=True)
|
66
|
+
for wh in warehouses:
|
67
|
+
route_vals = wh._create_or_update_route()
|
68
|
+
wh.write(route_vals)
|
69
|
+
|
60
70
|
# Create rma locations and picking types
|
61
71
|
warehouses = env["stock.warehouse"].search([])
|
62
72
|
for warehouse in warehouses:
|
63
73
|
create_rma_locations(warehouse)
|
64
74
|
create_rma_picking_types(warehouse)
|
75
|
+
create_rma_routes(warehouses)
|
65
76
|
# Create rma sequence per company
|
66
77
|
for company in env["res.company"].search([]):
|
67
78
|
company.create_rma_index()
|
odoo/addons/rma/i18n/de.po
CHANGED
@@ -1531,11 +1531,21 @@ msgstr "Automatische RMA-Kundenbenachrichtigungen"
|
|
1531
1531
|
msgid "RMA count"
|
1532
1532
|
msgstr "RMA-Zählung"
|
1533
1533
|
|
1534
|
+
#. module: rma
|
1535
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_in_route_id
|
1536
|
+
msgid "RMA in Route"
|
1537
|
+
msgstr ""
|
1538
|
+
|
1534
1539
|
#. module: rma
|
1535
1540
|
#: model:mail.message.subtype,description:rma.mt_rma_draft
|
1536
1541
|
msgid "RMA in draft state"
|
1537
1542
|
msgstr "RMA im Entwurfszustand"
|
1538
1543
|
|
1544
|
+
#. module: rma
|
1545
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_out_route_id
|
1546
|
+
msgid "RMA out Route"
|
1547
|
+
msgstr ""
|
1548
|
+
|
1539
1549
|
#. module: rma
|
1540
1550
|
#: model:ir.model.fields,field_description:rma.field_stock_move__rma_receiver_ids
|
1541
1551
|
msgid "RMA receivers"
|
@@ -1735,6 +1745,11 @@ msgstr ""
|
|
1735
1745
|
msgid "Return Picking"
|
1736
1746
|
msgstr "Inbound Kommissionierung"
|
1737
1747
|
|
1748
|
+
#. module: rma
|
1749
|
+
#: model:ir.model,name:rma.model_stock_return_picking_line
|
1750
|
+
msgid "Return Picking Line"
|
1751
|
+
msgstr ""
|
1752
|
+
|
1738
1753
|
#. module: rma
|
1739
1754
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
1740
1755
|
#: model:ir.model.fields.selection,name:rma.selection__rma_delivery_wizard__type__return
|
@@ -1758,6 +1773,13 @@ msgstr ""
|
|
1758
1773
|
msgid "Returned"
|
1759
1774
|
msgstr "Ist zurückgekommen"
|
1760
1775
|
|
1776
|
+
#. module: rma
|
1777
|
+
#. odoo-python
|
1778
|
+
#: code:addons/rma/wizard/stock_picking_return.py:0
|
1779
|
+
#, python-format
|
1780
|
+
msgid "Returned Picking"
|
1781
|
+
msgstr ""
|
1782
|
+
|
1761
1783
|
#. module: rma
|
1762
1784
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__rma_ids
|
1763
1785
|
msgid "Rma"
|
odoo/addons/rma/i18n/de_AT.po
CHANGED
@@ -1445,11 +1445,21 @@ msgstr ""
|
|
1445
1445
|
msgid "RMA count"
|
1446
1446
|
msgstr ""
|
1447
1447
|
|
1448
|
+
#. module: rma
|
1449
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_in_route_id
|
1450
|
+
msgid "RMA in Route"
|
1451
|
+
msgstr ""
|
1452
|
+
|
1448
1453
|
#. module: rma
|
1449
1454
|
#: model:mail.message.subtype,description:rma.mt_rma_draft
|
1450
1455
|
msgid "RMA in draft state"
|
1451
1456
|
msgstr ""
|
1452
1457
|
|
1458
|
+
#. module: rma
|
1459
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_out_route_id
|
1460
|
+
msgid "RMA out Route"
|
1461
|
+
msgstr ""
|
1462
|
+
|
1453
1463
|
#. module: rma
|
1454
1464
|
#: model:ir.model.fields,field_description:rma.field_stock_move__rma_receiver_ids
|
1455
1465
|
msgid "RMA receivers"
|
@@ -1641,6 +1651,11 @@ msgstr ""
|
|
1641
1651
|
msgid "Return Picking"
|
1642
1652
|
msgstr ""
|
1643
1653
|
|
1654
|
+
#. module: rma
|
1655
|
+
#: model:ir.model,name:rma.model_stock_return_picking_line
|
1656
|
+
msgid "Return Picking Line"
|
1657
|
+
msgstr ""
|
1658
|
+
|
1644
1659
|
#. module: rma
|
1645
1660
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
1646
1661
|
#: model:ir.model.fields.selection,name:rma.selection__rma_delivery_wizard__type__return
|
@@ -1662,6 +1677,13 @@ msgstr ""
|
|
1662
1677
|
msgid "Returned"
|
1663
1678
|
msgstr ""
|
1664
1679
|
|
1680
|
+
#. module: rma
|
1681
|
+
#. odoo-python
|
1682
|
+
#: code:addons/rma/wizard/stock_picking_return.py:0
|
1683
|
+
#, python-format
|
1684
|
+
msgid "Returned Picking"
|
1685
|
+
msgstr ""
|
1686
|
+
|
1665
1687
|
#. module: rma
|
1666
1688
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__rma_ids
|
1667
1689
|
msgid "Rma"
|
odoo/addons/rma/i18n/es.po
CHANGED
@@ -1598,11 +1598,21 @@ msgstr "Notificaciones automáticas de RMA"
|
|
1598
1598
|
msgid "RMA count"
|
1599
1599
|
msgstr "Cantidad de RMAs"
|
1600
1600
|
|
1601
|
+
#. module: rma
|
1602
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_in_route_id
|
1603
|
+
msgid "RMA in Route"
|
1604
|
+
msgstr ""
|
1605
|
+
|
1601
1606
|
#. module: rma
|
1602
1607
|
#: model:mail.message.subtype,description:rma.mt_rma_draft
|
1603
1608
|
msgid "RMA in draft state"
|
1604
1609
|
msgstr "RMA en estado borrador"
|
1605
1610
|
|
1611
|
+
#. module: rma
|
1612
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_out_route_id
|
1613
|
+
msgid "RMA out Route"
|
1614
|
+
msgstr ""
|
1615
|
+
|
1606
1616
|
#. module: rma
|
1607
1617
|
#: model:ir.model.fields,field_description:rma.field_stock_move__rma_receiver_ids
|
1608
1618
|
msgid "RMA receivers"
|
@@ -1803,6 +1813,11 @@ msgstr "Lugar de devolución"
|
|
1803
1813
|
msgid "Return Picking"
|
1804
1814
|
msgstr "Albarán de devolución"
|
1805
1815
|
|
1816
|
+
#. module: rma
|
1817
|
+
#: model:ir.model,name:rma.model_stock_return_picking_line
|
1818
|
+
msgid "Return Picking Line"
|
1819
|
+
msgstr ""
|
1820
|
+
|
1806
1821
|
#. module: rma
|
1807
1822
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
1808
1823
|
#: model:ir.model.fields.selection,name:rma.selection__rma_delivery_wizard__type__return
|
@@ -1826,6 +1841,13 @@ msgstr ""
|
|
1826
1841
|
msgid "Returned"
|
1827
1842
|
msgstr "Devuelto"
|
1828
1843
|
|
1844
|
+
#. module: rma
|
1845
|
+
#. odoo-python
|
1846
|
+
#: code:addons/rma/wizard/stock_picking_return.py:0
|
1847
|
+
#, python-format
|
1848
|
+
msgid "Returned Picking"
|
1849
|
+
msgstr ""
|
1850
|
+
|
1829
1851
|
#. module: rma
|
1830
1852
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__rma_ids
|
1831
1853
|
msgid "Rma"
|
odoo/addons/rma/i18n/fr.po
CHANGED
@@ -1584,11 +1584,21 @@ msgstr "Notifications RMA automatiques au client"
|
|
1584
1584
|
msgid "RMA count"
|
1585
1585
|
msgstr "Nombre de RMA"
|
1586
1586
|
|
1587
|
+
#. module: rma
|
1588
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_in_route_id
|
1589
|
+
msgid "RMA in Route"
|
1590
|
+
msgstr ""
|
1591
|
+
|
1587
1592
|
#. module: rma
|
1588
1593
|
#: model:mail.message.subtype,description:rma.mt_rma_draft
|
1589
1594
|
msgid "RMA in draft state"
|
1590
1595
|
msgstr "RMA au statut brouillon"
|
1591
1596
|
|
1597
|
+
#. module: rma
|
1598
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_out_route_id
|
1599
|
+
msgid "RMA out Route"
|
1600
|
+
msgstr ""
|
1601
|
+
|
1592
1602
|
#. module: rma
|
1593
1603
|
#: model:ir.model.fields,field_description:rma.field_stock_move__rma_receiver_ids
|
1594
1604
|
msgid "RMA receivers"
|
@@ -1789,6 +1799,11 @@ msgstr "Emplacement de retour"
|
|
1789
1799
|
msgid "Return Picking"
|
1790
1800
|
msgstr "Ordres de retour"
|
1791
1801
|
|
1802
|
+
#. module: rma
|
1803
|
+
#: model:ir.model,name:rma.model_stock_return_picking_line
|
1804
|
+
msgid "Return Picking Line"
|
1805
|
+
msgstr ""
|
1806
|
+
|
1792
1807
|
#. module: rma
|
1793
1808
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
1794
1809
|
#: model:ir.model.fields.selection,name:rma.selection__rma_delivery_wizard__type__return
|
@@ -1812,6 +1827,13 @@ msgstr ""
|
|
1812
1827
|
msgid "Returned"
|
1813
1828
|
msgstr "Retourné"
|
1814
1829
|
|
1830
|
+
#. module: rma
|
1831
|
+
#. odoo-python
|
1832
|
+
#: code:addons/rma/wizard/stock_picking_return.py:0
|
1833
|
+
#, python-format
|
1834
|
+
msgid "Returned Picking"
|
1835
|
+
msgstr ""
|
1836
|
+
|
1815
1837
|
#. module: rma
|
1816
1838
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__rma_ids
|
1817
1839
|
msgid "Rma"
|
odoo/addons/rma/i18n/it.po
CHANGED
@@ -1591,11 +1591,21 @@ msgstr "Notifiche automatiche ai clienti RMA"
|
|
1591
1591
|
msgid "RMA count"
|
1592
1592
|
msgstr "Conteggio RMA"
|
1593
1593
|
|
1594
|
+
#. module: rma
|
1595
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_in_route_id
|
1596
|
+
msgid "RMA in Route"
|
1597
|
+
msgstr ""
|
1598
|
+
|
1594
1599
|
#. module: rma
|
1595
1600
|
#: model:mail.message.subtype,description:rma.mt_rma_draft
|
1596
1601
|
msgid "RMA in draft state"
|
1597
1602
|
msgstr "RMA in stato bozza"
|
1598
1603
|
|
1604
|
+
#. module: rma
|
1605
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_out_route_id
|
1606
|
+
msgid "RMA out Route"
|
1607
|
+
msgstr ""
|
1608
|
+
|
1599
1609
|
#. module: rma
|
1600
1610
|
#: model:ir.model.fields,field_description:rma.field_stock_move__rma_receiver_ids
|
1601
1611
|
msgid "RMA receivers"
|
@@ -1795,6 +1805,11 @@ msgstr "Ubicazione di reso"
|
|
1795
1805
|
msgid "Return Picking"
|
1796
1806
|
msgstr "Prelievo di reso"
|
1797
1807
|
|
1808
|
+
#. module: rma
|
1809
|
+
#: model:ir.model,name:rma.model_stock_return_picking_line
|
1810
|
+
msgid "Return Picking Line"
|
1811
|
+
msgstr ""
|
1812
|
+
|
1798
1813
|
#. module: rma
|
1799
1814
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
1800
1815
|
#: model:ir.model.fields.selection,name:rma.selection__rma_delivery_wizard__type__return
|
@@ -1818,6 +1833,13 @@ msgstr ""
|
|
1818
1833
|
msgid "Returned"
|
1819
1834
|
msgstr "Restituito"
|
1820
1835
|
|
1836
|
+
#. module: rma
|
1837
|
+
#. odoo-python
|
1838
|
+
#: code:addons/rma/wizard/stock_picking_return.py:0
|
1839
|
+
#, python-format
|
1840
|
+
msgid "Returned Picking"
|
1841
|
+
msgstr ""
|
1842
|
+
|
1821
1843
|
#. module: rma
|
1822
1844
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__rma_ids
|
1823
1845
|
msgid "Rma"
|
odoo/addons/rma/i18n/nl.po
CHANGED
@@ -1445,11 +1445,21 @@ msgstr ""
|
|
1445
1445
|
msgid "RMA count"
|
1446
1446
|
msgstr ""
|
1447
1447
|
|
1448
|
+
#. module: rma
|
1449
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_in_route_id
|
1450
|
+
msgid "RMA in Route"
|
1451
|
+
msgstr ""
|
1452
|
+
|
1448
1453
|
#. module: rma
|
1449
1454
|
#: model:mail.message.subtype,description:rma.mt_rma_draft
|
1450
1455
|
msgid "RMA in draft state"
|
1451
1456
|
msgstr ""
|
1452
1457
|
|
1458
|
+
#. module: rma
|
1459
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_out_route_id
|
1460
|
+
msgid "RMA out Route"
|
1461
|
+
msgstr ""
|
1462
|
+
|
1453
1463
|
#. module: rma
|
1454
1464
|
#: model:ir.model.fields,field_description:rma.field_stock_move__rma_receiver_ids
|
1455
1465
|
msgid "RMA receivers"
|
@@ -1641,6 +1651,11 @@ msgstr ""
|
|
1641
1651
|
msgid "Return Picking"
|
1642
1652
|
msgstr ""
|
1643
1653
|
|
1654
|
+
#. module: rma
|
1655
|
+
#: model:ir.model,name:rma.model_stock_return_picking_line
|
1656
|
+
msgid "Return Picking Line"
|
1657
|
+
msgstr ""
|
1658
|
+
|
1644
1659
|
#. module: rma
|
1645
1660
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
1646
1661
|
#: model:ir.model.fields.selection,name:rma.selection__rma_delivery_wizard__type__return
|
@@ -1662,6 +1677,13 @@ msgstr ""
|
|
1662
1677
|
msgid "Returned"
|
1663
1678
|
msgstr ""
|
1664
1679
|
|
1680
|
+
#. module: rma
|
1681
|
+
#. odoo-python
|
1682
|
+
#: code:addons/rma/wizard/stock_picking_return.py:0
|
1683
|
+
#, python-format
|
1684
|
+
msgid "Returned Picking"
|
1685
|
+
msgstr ""
|
1686
|
+
|
1665
1687
|
#. module: rma
|
1666
1688
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__rma_ids
|
1667
1689
|
msgid "Rma"
|
odoo/addons/rma/i18n/pt.po
CHANGED
@@ -1470,11 +1470,21 @@ msgstr "Notificações automáticas a clientes de RMA"
|
|
1470
1470
|
msgid "RMA count"
|
1471
1471
|
msgstr "Contagem de RMA"
|
1472
1472
|
|
1473
|
+
#. module: rma
|
1474
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_in_route_id
|
1475
|
+
msgid "RMA in Route"
|
1476
|
+
msgstr ""
|
1477
|
+
|
1473
1478
|
#. module: rma
|
1474
1479
|
#: model:mail.message.subtype,description:rma.mt_rma_draft
|
1475
1480
|
msgid "RMA in draft state"
|
1476
1481
|
msgstr "RMA em estado de rascunho"
|
1477
1482
|
|
1483
|
+
#. module: rma
|
1484
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_out_route_id
|
1485
|
+
msgid "RMA out Route"
|
1486
|
+
msgstr ""
|
1487
|
+
|
1478
1488
|
#. module: rma
|
1479
1489
|
#: model:ir.model.fields,field_description:rma.field_stock_move__rma_receiver_ids
|
1480
1490
|
msgid "RMA receivers"
|
@@ -1666,6 +1676,11 @@ msgstr ""
|
|
1666
1676
|
msgid "Return Picking"
|
1667
1677
|
msgstr "Operação de Devolução"
|
1668
1678
|
|
1679
|
+
#. module: rma
|
1680
|
+
#: model:ir.model,name:rma.model_stock_return_picking_line
|
1681
|
+
msgid "Return Picking Line"
|
1682
|
+
msgstr ""
|
1683
|
+
|
1669
1684
|
#. module: rma
|
1670
1685
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
1671
1686
|
#: model:ir.model.fields.selection,name:rma.selection__rma_delivery_wizard__type__return
|
@@ -1687,6 +1702,13 @@ msgstr ""
|
|
1687
1702
|
msgid "Returned"
|
1688
1703
|
msgstr "Devolvido"
|
1689
1704
|
|
1705
|
+
#. module: rma
|
1706
|
+
#. odoo-python
|
1707
|
+
#: code:addons/rma/wizard/stock_picking_return.py:0
|
1708
|
+
#, python-format
|
1709
|
+
msgid "Returned Picking"
|
1710
|
+
msgstr ""
|
1711
|
+
|
1690
1712
|
#. module: rma
|
1691
1713
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__rma_ids
|
1692
1714
|
msgid "Rma"
|
odoo/addons/rma/i18n/pt_BR.po
CHANGED
@@ -1470,11 +1470,21 @@ msgstr ""
|
|
1470
1470
|
msgid "RMA count"
|
1471
1471
|
msgstr "Contagem de RMA"
|
1472
1472
|
|
1473
|
+
#. module: rma
|
1474
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_in_route_id
|
1475
|
+
msgid "RMA in Route"
|
1476
|
+
msgstr ""
|
1477
|
+
|
1473
1478
|
#. module: rma
|
1474
1479
|
#: model:mail.message.subtype,description:rma.mt_rma_draft
|
1475
1480
|
msgid "RMA in draft state"
|
1476
1481
|
msgstr ""
|
1477
1482
|
|
1483
|
+
#. module: rma
|
1484
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_out_route_id
|
1485
|
+
msgid "RMA out Route"
|
1486
|
+
msgstr ""
|
1487
|
+
|
1478
1488
|
#. module: rma
|
1479
1489
|
#: model:ir.model.fields,field_description:rma.field_stock_move__rma_receiver_ids
|
1480
1490
|
msgid "RMA receivers"
|
@@ -1666,6 +1676,11 @@ msgstr ""
|
|
1666
1676
|
msgid "Return Picking"
|
1667
1677
|
msgstr "Retorno de Coleta"
|
1668
1678
|
|
1679
|
+
#. module: rma
|
1680
|
+
#: model:ir.model,name:rma.model_stock_return_picking_line
|
1681
|
+
msgid "Return Picking Line"
|
1682
|
+
msgstr ""
|
1683
|
+
|
1669
1684
|
#. module: rma
|
1670
1685
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
1671
1686
|
#: model:ir.model.fields.selection,name:rma.selection__rma_delivery_wizard__type__return
|
@@ -1687,6 +1702,13 @@ msgstr ""
|
|
1687
1702
|
msgid "Returned"
|
1688
1703
|
msgstr "Retornado(a)"
|
1689
1704
|
|
1705
|
+
#. module: rma
|
1706
|
+
#. odoo-python
|
1707
|
+
#: code:addons/rma/wizard/stock_picking_return.py:0
|
1708
|
+
#, python-format
|
1709
|
+
msgid "Returned Picking"
|
1710
|
+
msgstr ""
|
1711
|
+
|
1690
1712
|
#. module: rma
|
1691
1713
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__rma_ids
|
1692
1714
|
msgid "Rma"
|
odoo/addons/rma/i18n/rma.pot
CHANGED
@@ -1437,11 +1437,21 @@ msgstr ""
|
|
1437
1437
|
msgid "RMA count"
|
1438
1438
|
msgstr ""
|
1439
1439
|
|
1440
|
+
#. module: rma
|
1441
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_in_route_id
|
1442
|
+
msgid "RMA in Route"
|
1443
|
+
msgstr ""
|
1444
|
+
|
1440
1445
|
#. module: rma
|
1441
1446
|
#: model:mail.message.subtype,description:rma.mt_rma_draft
|
1442
1447
|
msgid "RMA in draft state"
|
1443
1448
|
msgstr ""
|
1444
1449
|
|
1450
|
+
#. module: rma
|
1451
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_out_route_id
|
1452
|
+
msgid "RMA out Route"
|
1453
|
+
msgstr ""
|
1454
|
+
|
1445
1455
|
#. module: rma
|
1446
1456
|
#: model:ir.model.fields,field_description:rma.field_stock_move__rma_receiver_ids
|
1447
1457
|
msgid "RMA receivers"
|
@@ -1633,6 +1643,11 @@ msgstr ""
|
|
1633
1643
|
msgid "Return Picking"
|
1634
1644
|
msgstr ""
|
1635
1645
|
|
1646
|
+
#. module: rma
|
1647
|
+
#: model:ir.model,name:rma.model_stock_return_picking_line
|
1648
|
+
msgid "Return Picking Line"
|
1649
|
+
msgstr ""
|
1650
|
+
|
1636
1651
|
#. module: rma
|
1637
1652
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
1638
1653
|
#: model:ir.model.fields.selection,name:rma.selection__rma_delivery_wizard__type__return
|
@@ -1654,6 +1669,13 @@ msgstr ""
|
|
1654
1669
|
msgid "Returned"
|
1655
1670
|
msgstr ""
|
1656
1671
|
|
1672
|
+
#. module: rma
|
1673
|
+
#. odoo-python
|
1674
|
+
#: code:addons/rma/wizard/stock_picking_return.py:0
|
1675
|
+
#, python-format
|
1676
|
+
msgid "Returned Picking"
|
1677
|
+
msgstr ""
|
1678
|
+
|
1657
1679
|
#. module: rma
|
1658
1680
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__rma_ids
|
1659
1681
|
msgid "Rma"
|
odoo/addons/rma/i18n/ro.po
CHANGED
@@ -1468,11 +1468,21 @@ msgstr ""
|
|
1468
1468
|
msgid "RMA count"
|
1469
1469
|
msgstr ""
|
1470
1470
|
|
1471
|
+
#. module: rma
|
1472
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_in_route_id
|
1473
|
+
msgid "RMA in Route"
|
1474
|
+
msgstr ""
|
1475
|
+
|
1471
1476
|
#. module: rma
|
1472
1477
|
#: model:mail.message.subtype,description:rma.mt_rma_draft
|
1473
1478
|
msgid "RMA in draft state"
|
1474
1479
|
msgstr ""
|
1475
1480
|
|
1481
|
+
#. module: rma
|
1482
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_out_route_id
|
1483
|
+
msgid "RMA out Route"
|
1484
|
+
msgstr ""
|
1485
|
+
|
1476
1486
|
#. module: rma
|
1477
1487
|
#: model:ir.model.fields,field_description:rma.field_stock_move__rma_receiver_ids
|
1478
1488
|
msgid "RMA receivers"
|
@@ -1664,6 +1674,11 @@ msgstr ""
|
|
1664
1674
|
msgid "Return Picking"
|
1665
1675
|
msgstr ""
|
1666
1676
|
|
1677
|
+
#. module: rma
|
1678
|
+
#: model:ir.model,name:rma.model_stock_return_picking_line
|
1679
|
+
msgid "Return Picking Line"
|
1680
|
+
msgstr ""
|
1681
|
+
|
1667
1682
|
#. module: rma
|
1668
1683
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
1669
1684
|
#: model:ir.model.fields.selection,name:rma.selection__rma_delivery_wizard__type__return
|
@@ -1685,6 +1700,13 @@ msgstr ""
|
|
1685
1700
|
msgid "Returned"
|
1686
1701
|
msgstr ""
|
1687
1702
|
|
1703
|
+
#. module: rma
|
1704
|
+
#. odoo-python
|
1705
|
+
#: code:addons/rma/wizard/stock_picking_return.py:0
|
1706
|
+
#, python-format
|
1707
|
+
msgid "Returned Picking"
|
1708
|
+
msgstr ""
|
1709
|
+
|
1688
1710
|
#. module: rma
|
1689
1711
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__rma_ids
|
1690
1712
|
msgid "Rma"
|
odoo/addons/rma/i18n/zh_CN.po
CHANGED
@@ -1447,11 +1447,21 @@ msgstr ""
|
|
1447
1447
|
msgid "RMA count"
|
1448
1448
|
msgstr ""
|
1449
1449
|
|
1450
|
+
#. module: rma
|
1451
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_in_route_id
|
1452
|
+
msgid "RMA in Route"
|
1453
|
+
msgstr ""
|
1454
|
+
|
1450
1455
|
#. module: rma
|
1451
1456
|
#: model:mail.message.subtype,description:rma.mt_rma_draft
|
1452
1457
|
msgid "RMA in draft state"
|
1453
1458
|
msgstr ""
|
1454
1459
|
|
1460
|
+
#. module: rma
|
1461
|
+
#: model:ir.model.fields,field_description:rma.field_stock_warehouse__rma_out_route_id
|
1462
|
+
msgid "RMA out Route"
|
1463
|
+
msgstr ""
|
1464
|
+
|
1455
1465
|
#. module: rma
|
1456
1466
|
#: model:ir.model.fields,field_description:rma.field_stock_move__rma_receiver_ids
|
1457
1467
|
msgid "RMA receivers"
|
@@ -1643,6 +1653,11 @@ msgstr ""
|
|
1643
1653
|
msgid "Return Picking"
|
1644
1654
|
msgstr ""
|
1645
1655
|
|
1656
|
+
#. module: rma
|
1657
|
+
#: model:ir.model,name:rma.model_stock_return_picking_line
|
1658
|
+
msgid "Return Picking Line"
|
1659
|
+
msgstr ""
|
1660
|
+
|
1646
1661
|
#. module: rma
|
1647
1662
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
1648
1663
|
#: model:ir.model.fields.selection,name:rma.selection__rma_delivery_wizard__type__return
|
@@ -1664,6 +1679,13 @@ msgstr ""
|
|
1664
1679
|
msgid "Returned"
|
1665
1680
|
msgstr ""
|
1666
1681
|
|
1682
|
+
#. module: rma
|
1683
|
+
#. odoo-python
|
1684
|
+
#: code:addons/rma/wizard/stock_picking_return.py:0
|
1685
|
+
#, python-format
|
1686
|
+
msgid "Returned Picking"
|
1687
|
+
msgstr ""
|
1688
|
+
|
1667
1689
|
#. module: rma
|
1668
1690
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__rma_ids
|
1669
1691
|
msgid "Rma"
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Copyright 2024 Tecnativa - Víctor Martínez
|
2
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
3
|
+
|
4
|
+
from openupgradelib import openupgrade
|
5
|
+
|
6
|
+
|
7
|
+
@openupgrade.migrate()
|
8
|
+
def migrate(env, version):
|
9
|
+
"""Similar behavior to create_rma_routes of post_init_hook."""
|
10
|
+
warehouses = env["stock.warehouse"].search([])
|
11
|
+
warehouses = warehouses.with_context(rma_post_init_hook=True)
|
12
|
+
for wh in warehouses:
|
13
|
+
if not wh.rma_in_type_id or not wh.rma_out_type_id:
|
14
|
+
data = wh._create_or_update_sequences_and_picking_types()
|
15
|
+
wh.write(data)
|
16
|
+
route_vals = wh._create_or_update_route()
|
17
|
+
wh.write(route_vals)
|
@@ -27,7 +27,7 @@ class ResPartner(models.Model):
|
|
27
27
|
|
28
28
|
def action_view_rma(self):
|
29
29
|
self.ensure_one()
|
30
|
-
action = self.
|
30
|
+
action = self.env["ir.actions.act_window"]._for_xml_id("rma.rma_action")
|
31
31
|
rma = self.rma_ids
|
32
32
|
if len(rma) == 1:
|
33
33
|
action.update(
|