odoo-addon-rma-delivery 16.0.1.1.0__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_delivery/README.rst +131 -0
- odoo/addons/rma_delivery/__init__.py +1 -0
- odoo/addons/rma_delivery/__manifest__.py +18 -0
- odoo/addons/rma_delivery/i18n/it.po +80 -0
- odoo/addons/rma_delivery/i18n/rma_delivery.pot +104 -0
- odoo/addons/rma_delivery/models/__init__.py +4 -0
- odoo/addons/rma_delivery/models/res_company.py +38 -0
- odoo/addons/rma_delivery/models/res_config_settings.py +25 -0
- odoo/addons/rma_delivery/models/rma.py +77 -0
- odoo/addons/rma_delivery/models/stock_move.py +18 -0
- odoo/addons/rma_delivery/readme/CONFIGURE.rst +23 -0
- odoo/addons/rma_delivery/readme/CONTRIBUTORS.rst +6 -0
- odoo/addons/rma_delivery/readme/DESCRIPTION.rst +2 -0
- odoo/addons/rma_delivery/readme/USAGE.rst +6 -0
- odoo/addons/rma_delivery/static/description/icon.png +0 -0
- odoo/addons/rma_delivery/static/description/index.html +475 -0
- odoo/addons/rma_delivery/tests/__init__.py +1 -0
- odoo/addons/rma_delivery/tests/test_rma_delivery.py +207 -0
- odoo/addons/rma_delivery/views/res_config_settings_views.xml +70 -0
- odoo/addons/rma_delivery/views/rma_views.xml +24 -0
- odoo_addon_rma_delivery-16.0.1.1.0.dist-info/METADATA +148 -0
- odoo_addon_rma_delivery-16.0.1.1.0.dist-info/RECORD +24 -0
- odoo_addon_rma_delivery-16.0.1.1.0.dist-info/WHEEL +5 -0
- odoo_addon_rma_delivery-16.0.1.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<odoo>
|
|
3
|
+
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
4
|
+
<field name="model">res.config.settings</field>
|
|
5
|
+
<field name="inherit_id" ref="stock.res_config_settings_view_form" />
|
|
6
|
+
<field name="arch" type="xml">
|
|
7
|
+
<xpath
|
|
8
|
+
expr="//div[@data-key='stock']/div[hasclass('o_settings_container')]"
|
|
9
|
+
position="inside"
|
|
10
|
+
>
|
|
11
|
+
<div class="col-12 col-lg-6 o_setting_box">
|
|
12
|
+
<div class="o_setting_right_pane">
|
|
13
|
+
<label for="rma_delivery_strategy" />
|
|
14
|
+
<div class="text-muted">
|
|
15
|
+
RMA delivery strategy
|
|
16
|
+
</div>
|
|
17
|
+
<div class="content-group">
|
|
18
|
+
<div class="mt16">
|
|
19
|
+
<field
|
|
20
|
+
name="rma_delivery_strategy"
|
|
21
|
+
class="o_light_label"
|
|
22
|
+
/>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div
|
|
26
|
+
class="content-group"
|
|
27
|
+
attrs="{'invisible': [('rma_delivery_strategy', 'in', ('customer_method', 'rma_method'))]}"
|
|
28
|
+
>
|
|
29
|
+
<label for="rma_fixed_delivery_method" />
|
|
30
|
+
<div class="mt16">
|
|
31
|
+
<field
|
|
32
|
+
name="rma_fixed_delivery_method"
|
|
33
|
+
class="o_light_label"
|
|
34
|
+
widget="selection"
|
|
35
|
+
/>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="o_setting_right_pane">
|
|
40
|
+
<label for="rma_reception_strategy" />
|
|
41
|
+
<div class="text-muted">
|
|
42
|
+
RMA reception strategy
|
|
43
|
+
</div>
|
|
44
|
+
<div class="content-group">
|
|
45
|
+
<div class="mt16">
|
|
46
|
+
<field
|
|
47
|
+
name="rma_reception_strategy"
|
|
48
|
+
class="o_light_label"
|
|
49
|
+
/>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div
|
|
53
|
+
class="content-group"
|
|
54
|
+
attrs="{'invisible': [('rma_reception_strategy', 'in', ('customer_method', 'rma_method'))]}"
|
|
55
|
+
>
|
|
56
|
+
<label for="rma_fixed_reception_strategy" />
|
|
57
|
+
<div class="mt16">
|
|
58
|
+
<field
|
|
59
|
+
name="rma_fixed_reception_strategy"
|
|
60
|
+
class="o_light_label"
|
|
61
|
+
widget="selection"
|
|
62
|
+
/>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</xpath>
|
|
68
|
+
</field>
|
|
69
|
+
</record>
|
|
70
|
+
</odoo>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<!-- Copyright 2026 Tecnativa - Víctor Martínez
|
|
3
|
+
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
|
4
|
+
<odoo>
|
|
5
|
+
<record id="rma_view_form" model="ir.ui.view">
|
|
6
|
+
<field name="name">rma.view.form</field>
|
|
7
|
+
<field name="model">rma</field>
|
|
8
|
+
<field name="inherit_id" ref="rma.rma_view_form" />
|
|
9
|
+
<field name="arch" type="xml">
|
|
10
|
+
<field name="procurement_group_id" position="after">
|
|
11
|
+
<field name="rma_delivery_strategy" invisible="1" />
|
|
12
|
+
<field
|
|
13
|
+
name="carrier_id"
|
|
14
|
+
attrs="{'invisible': [('rma_delivery_strategy', '!=', 'rma_method')], 'readonly': [('show_create_refund', '=', False),('show_create_replace', '=', False),('show_create_return', '=', False)]}"
|
|
15
|
+
/>
|
|
16
|
+
<field name="rma_reception_strategy" invisible="1" />
|
|
17
|
+
<field
|
|
18
|
+
name="reception_carrier_id"
|
|
19
|
+
attrs="{'invisible': [('rma_reception_strategy', '!=', 'rma_method')], 'readonly': [('state', '!=', 'draft')]}"
|
|
20
|
+
/>
|
|
21
|
+
</field>
|
|
22
|
+
</field>
|
|
23
|
+
</record>
|
|
24
|
+
</odoo>
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: odoo-addon-rma_delivery
|
|
3
|
+
Version: 16.0.1.1.0
|
|
4
|
+
Summary: Allow to choose a default delivery carrier for returns
|
|
5
|
+
Home-page: https://github.com/OCA/rma
|
|
6
|
+
Author: Tecnativa, Odoo Community Association (OCA)
|
|
7
|
+
Author-email: support@odoo-community.org
|
|
8
|
+
License: AGPL-3
|
|
9
|
+
Classifier: Programming Language :: Python
|
|
10
|
+
Classifier: Framework :: Odoo
|
|
11
|
+
Classifier: Framework :: Odoo :: 16.0
|
|
12
|
+
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Requires-Python: >=3.10
|
|
15
|
+
Requires-Dist: odoo-addon-rma<16.1dev,>=16.0dev
|
|
16
|
+
Requires-Dist: odoo<16.1dev,>=16.0a
|
|
17
|
+
|
|
18
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
19
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
20
|
+
:alt: Odoo Community Association
|
|
21
|
+
|
|
22
|
+
==================================================================
|
|
23
|
+
Return Merchandise Authorization Management - Link with deliveries
|
|
24
|
+
==================================================================
|
|
25
|
+
|
|
26
|
+
..
|
|
27
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
28
|
+
!! This file is generated by oca-gen-addon-readme !!
|
|
29
|
+
!! changes will be overwritten. !!
|
|
30
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
31
|
+
!! source digest: sha256:b65c1ac22988a89751a755b8cb8846b1cbee481f38a58a909bdafc450e40b72e
|
|
32
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
33
|
+
|
|
34
|
+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
35
|
+
:target: https://odoo-community.org/page/development-status
|
|
36
|
+
:alt: Beta
|
|
37
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
38
|
+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
39
|
+
:alt: License: AGPL-3
|
|
40
|
+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github
|
|
41
|
+
:target: https://github.com/OCA/rma/tree/16.0/rma_delivery
|
|
42
|
+
:alt: OCA/rma
|
|
43
|
+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
44
|
+
:target: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma_delivery
|
|
45
|
+
:alt: Translate me on Weblate
|
|
46
|
+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
47
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/rma&target_branch=16.0
|
|
48
|
+
:alt: Try me on Runboat
|
|
49
|
+
|
|
50
|
+
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
51
|
+
|
|
52
|
+
This module extends the functionality of the RMA module to allow to choose a default
|
|
53
|
+
behavior for the shipping method used on the RMA receipt/returns to the customer.
|
|
54
|
+
|
|
55
|
+
**Table of contents**
|
|
56
|
+
|
|
57
|
+
.. contents::
|
|
58
|
+
:local:
|
|
59
|
+
|
|
60
|
+
Configuration
|
|
61
|
+
=============
|
|
62
|
+
|
|
63
|
+
To configure RMAs shipping strategy for your company:
|
|
64
|
+
|
|
65
|
+
#. Go to *Inventory > Configuration > Settings*
|
|
66
|
+
#. Choose an *RMA delivery method strategy*.
|
|
67
|
+
#. There are 4 possibilities:
|
|
68
|
+
|
|
69
|
+
- Fixed method: the method will always be the same. Select it on the field *Default RMA delivery method*
|
|
70
|
+
(or leave it empty for no delivery method at all).
|
|
71
|
+
- Customer method: the method will be the one configured on the partner.
|
|
72
|
+
- Mixed method: the method will be the one configured on the partner, otherwise
|
|
73
|
+
the fixed one will be chosen.
|
|
74
|
+
- RMA method: the method will be configured in each RMA.
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
#. Choose an *RMA reception method strategy*.
|
|
78
|
+
#. There are 4 possibilities:
|
|
79
|
+
|
|
80
|
+
- Fixed method: the method will always be the same. Select it on the field *Default RMA delivery method*
|
|
81
|
+
(or leave it empty for no delivery method at all).
|
|
82
|
+
- Customer method: the method will be the one configured on the partner.
|
|
83
|
+
- Mixed method: the method will be the one configured on the partner, otherwise
|
|
84
|
+
the fixed one will be chosen.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
Usage
|
|
88
|
+
=====
|
|
89
|
+
|
|
90
|
+
To use this module, you need to:
|
|
91
|
+
|
|
92
|
+
#. Go to a RMA which has received quantities.
|
|
93
|
+
#. Return it to the customer.
|
|
94
|
+
#. Depending on your company configuration, the return picking will get one or another
|
|
95
|
+
carrier.
|
|
96
|
+
|
|
97
|
+
Bug Tracker
|
|
98
|
+
===========
|
|
99
|
+
|
|
100
|
+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/rma/issues>`_.
|
|
101
|
+
In case of trouble, please check there if your issue has already been reported.
|
|
102
|
+
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
103
|
+
`feedback <https://github.com/OCA/rma/issues/new?body=module:%20rma_delivery%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
104
|
+
|
|
105
|
+
Do not contact contributors directly about support or help with technical issues.
|
|
106
|
+
|
|
107
|
+
Credits
|
|
108
|
+
=======
|
|
109
|
+
|
|
110
|
+
Authors
|
|
111
|
+
~~~~~~~
|
|
112
|
+
|
|
113
|
+
* Tecnativa
|
|
114
|
+
|
|
115
|
+
Contributors
|
|
116
|
+
~~~~~~~~~~~~
|
|
117
|
+
|
|
118
|
+
* `Tecnativa <https://www.tecnativa.com>`_:
|
|
119
|
+
|
|
120
|
+
* David Vidal
|
|
121
|
+
* Víctor Martínez
|
|
122
|
+
|
|
123
|
+
* Souheil Bejaoui - ACSONE SA/NV <souheil.bejaoui@acsone.eu>
|
|
124
|
+
|
|
125
|
+
Maintainers
|
|
126
|
+
~~~~~~~~~~~
|
|
127
|
+
|
|
128
|
+
This module is maintained by the OCA.
|
|
129
|
+
|
|
130
|
+
.. image:: https://odoo-community.org/logo.png
|
|
131
|
+
:alt: Odoo Community Association
|
|
132
|
+
:target: https://odoo-community.org
|
|
133
|
+
|
|
134
|
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
135
|
+
mission is to support the collaborative development of Odoo features and
|
|
136
|
+
promote its widespread use.
|
|
137
|
+
|
|
138
|
+
.. |maintainer-chienandalu| image:: https://github.com/chienandalu.png?size=40px
|
|
139
|
+
:target: https://github.com/chienandalu
|
|
140
|
+
:alt: chienandalu
|
|
141
|
+
|
|
142
|
+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
|
143
|
+
|
|
144
|
+
|maintainer-chienandalu|
|
|
145
|
+
|
|
146
|
+
This module is part of the `OCA/rma <https://github.com/OCA/rma/tree/16.0/rma_delivery>`_ project on GitHub.
|
|
147
|
+
|
|
148
|
+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
odoo/addons/rma_delivery/README.rst,sha256=aWx3ACw6HdiElYou7kx8VHJR7bd79BjlcqdlFb8yjOM,4777
|
|
2
|
+
odoo/addons/rma_delivery/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
|
|
3
|
+
odoo/addons/rma_delivery/__manifest__.py,sha256=tnJHbJAbpZJ9pImjzBUjwQyDt0LUdHKOQDmnulHGARU,653
|
|
4
|
+
odoo/addons/rma_delivery/i18n/it.po,sha256=YkcEz5-zq3e4PD1MVB1SiUAEcsl-y776_0GsTpt95YY,2745
|
|
5
|
+
odoo/addons/rma_delivery/i18n/rma_delivery.pot,sha256=6ffgmn8Bt5nDiXd95TylcbUaMt21sQ-R6Vf-ivLTha0,3807
|
|
6
|
+
odoo/addons/rma_delivery/models/__init__.py,sha256=I259Kkva6vjEqiOHU7j4yGMq5AKlAPyFp9lYP-jWZn8,103
|
|
7
|
+
odoo/addons/rma_delivery/models/res_company.py,sha256=R2AQPEZGoXVwFTBXerzUL7ydq0I0vySo99S-nEBYCFA,1279
|
|
8
|
+
odoo/addons/rma_delivery/models/res_config_settings.py,sha256=P9AwJrWE8Wo8J0YdeRbeQK8Tl0FTJBf8N2hQab6uFVA,807
|
|
9
|
+
odoo/addons/rma_delivery/models/rma.py,sha256=Gc3SKmB5vNOnjns7pLE2644ALnulhvEMgaKn9dNPzU4,2877
|
|
10
|
+
odoo/addons/rma_delivery/models/stock_move.py,sha256=_ktXV6T5fydMP9SLe3dQWVHibjfdt_2h1ZVNHUkXXzQ,658
|
|
11
|
+
odoo/addons/rma_delivery/readme/CONFIGURE.rst,sha256=33EZEoKEWs_TDp9UyR7a4JFyxAvHhOvtcLDzAxhTLKU,1035
|
|
12
|
+
odoo/addons/rma_delivery/readme/CONTRIBUTORS.rst,sha256=2drIAkIdGi-k1UcRheaa0Vie8Y44eu83kG-xTYZGc8E,144
|
|
13
|
+
odoo/addons/rma_delivery/readme/DESCRIPTION.rst,sha256=GpFLTl_WFljYQRqliHcIGlsBVhkFv-tAY9qV9WJ99Dg,167
|
|
14
|
+
odoo/addons/rma_delivery/readme/USAGE.rst,sha256=s3bvPgwuio1hTitsd3cQw-nMIlkTWmLh5Nbh396HsbI,209
|
|
15
|
+
odoo/addons/rma_delivery/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
16
|
+
odoo/addons/rma_delivery/static/description/index.html,sha256=8QqXlUy-xIllL-VQa9tvk4iw51Ybu4RoNjWxVKNtnlI,14737
|
|
17
|
+
odoo/addons/rma_delivery/tests/__init__.py,sha256=U_4NaxVmwFbdJw8llCHmfS42_KY7XV57R889ai7hbg4,32
|
|
18
|
+
odoo/addons/rma_delivery/tests/test_rma_delivery.py,sha256=JIfcSKJEfwdDy82GJK0G5qq9ISTiOUqPOW6iPpTfBn0,8319
|
|
19
|
+
odoo/addons/rma_delivery/views/res_config_settings_views.xml,sha256=yYZPLDK6yJ5xXZOAkAmwHy6DXmRriJPSG_mQG17M4qM,3193
|
|
20
|
+
odoo/addons/rma_delivery/views/rma_views.xml,sha256=1L9gP24WDiSpKjs7cdZXlwAFsQO01UUP63pDgg1K0yA,1186
|
|
21
|
+
odoo_addon_rma_delivery-16.0.1.1.0.dist-info/METADATA,sha256=UqTX4cfpEzm57FjDZIeUnpv41DN2koLH6ou46Jra67k,5399
|
|
22
|
+
odoo_addon_rma_delivery-16.0.1.1.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
23
|
+
odoo_addon_rma_delivery-16.0.1.1.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
|
24
|
+
odoo_addon_rma_delivery-16.0.1.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
odoo
|