Skip to content

Commit 5f392bb

Browse files
committed
[ADD] rma_inter_company: New module
TT57882
1 parent 9add304 commit 5f392bb

File tree

21 files changed

+1831
-0
lines changed

21 files changed

+1831
-0
lines changed

rma_inter_company/README.rst

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
============================
2+
Inter Company Module for RMA
3+
============================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:19ef773ed511665dadbb5c7430e6003d236bd009cc440da13a320ab9fe19f1a5
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmulti--company-lightgray.png?logo=github
20+
:target: https://github.com/OCA/multi-company/tree/18.0/rma_inter_company
21+
:alt: OCA/multi-company
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/multi-company-18-0/multi-company-18-0-rma_inter_company
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/multi-company&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
Automatically create an Inter Company RMA so that it can be managed
32+
independently but still remain linked.
33+
34+
**Table of contents**
35+
36+
.. contents::
37+
:local:
38+
39+
Use Cases / Context
40+
===================
41+
42+
If a company (Company A) sells products but uses dropshipping (Company
43+
B), when the customer makes an RMA with Company A, everything must be
44+
managed internally in another RMA with Company B.
45+
46+
Configuration
47+
=============
48+
49+
#. Configure the settings specified in
50+
purchase_sale_stock_inter_company. #. Install stock_dropshipping #.
51+
Create a product and select the Dropshipping route #. [Company A] Set
52+
Company B as the supplier in the Purchasing tab #. [Company B] Set any
53+
contact (Azure Interior, for example) as the supplier in the Purchasing
54+
tab.
55+
56+
Usage
57+
=====
58+
59+
#. [Company A] Create a sales order and use the previously created
60+
product. #. [Company A] Confirm the sales order. #. [Company A] The
61+
corresponding purchase order will have been created (confirm it if
62+
necessary). #. [Company A] Complete the sales order delivery note. #.
63+
[Company A] Create the RMA linked to the sales order. #. [Company B] The
64+
sales order RMA will have been created automatically and will be linked.
65+
#. The RMA from Company B will be confirmed automatically. #. Reception
66+
picking for RMA A will have Transit Location defined as the destination
67+
location. #. Reception picking for RMA B will have Transit Location
68+
defined as the origin location. #. When validating the reception picking
69+
for RMA B, the reception picking for RMA A will be auto-done first. #.
70+
When creating a delivery picking (return or replace) in RMA B, it will
71+
also be created in RMA A. #. The RMA B delivery picking will have
72+
Transit Location as its destination location. #. The RMA A delivery
73+
picking will have Transit Location as its origin location. #. When
74+
validating the RMA B delivery picking, the RMA A delivery picking will
75+
be automatically done. #. If RMA A is canceled, RMA B is automatically
76+
canceled. #. If RMA B is canceled, RMA A is automatically canceled. #.
77+
If RMA A is confirmed, RMA B is automatically confirmed. #. If RMA B is
78+
confirmed, RMA A is automatically confirmed. #. If RMA A is returned
79+
(using the return or replace button), RMA B is automatically returned.
80+
#. If RMA B is returned (using the return or replace button), RMA A is
81+
automatically returned. #. If RMA A is refunded, RMA B is automatically
82+
returned. #. If RMA B is refunded, RMA A is automatically returned.
83+
84+
Bug Tracker
85+
===========
86+
87+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/multi-company/issues>`_.
88+
In case of trouble, please check there if your issue has already been reported.
89+
If you spotted it first, help us to smash it by providing a detailed and welcomed
90+
`feedback <https://github.com/OCA/multi-company/issues/new?body=module:%20rma_inter_company%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
91+
92+
Do not contact contributors directly about support or help with technical issues.
93+
94+
Credits
95+
=======
96+
97+
Authors
98+
-------
99+
100+
* Tecnativa
101+
102+
Contributors
103+
------------
104+
105+
- \`Tecnativa <https://www.tecnativa.com>\`:
106+
107+
- Víctor Martínez
108+
- Pedro M. Baeza
109+
110+
Maintainers
111+
-----------
112+
113+
This module is maintained by the OCA.
114+
115+
.. image:: https://odoo-community.org/logo.png
116+
:alt: Odoo Community Association
117+
:target: https://odoo-community.org
118+
119+
OCA, or the Odoo Community Association, is a nonprofit organization whose
120+
mission is to support the collaborative development of Odoo features and
121+
promote its widespread use.
122+
123+
.. |maintainer-victoralmau| image:: https://github.com/victoralmau.png?size=40px
124+
:target: https://github.com/victoralmau
125+
:alt: victoralmau
126+
127+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
128+
129+
|maintainer-victoralmau|
130+
131+
This module is part of the `OCA/multi-company <https://github.com/OCA/multi-company/tree/18.0/rma_inter_company>`_ project on GitHub.
132+
133+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

rma_inter_company/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models

rma_inter_company/__manifest__.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2026 Tecnativa - Víctor Martínez
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "Inter Company Module for RMA",
6+
"version": "18.0.1.0.0",
7+
"category": "Purchase Management",
8+
"website": "https://github.com/OCA/multi-company",
9+
"author": "Tecnativa, Odoo Community Association (OCA)",
10+
"license": "AGPL-3",
11+
"installable": True,
12+
"depends": ["purchase_sale_stock_inter_company", "rma_sale"],
13+
"data": [
14+
"views/rma_views.xml",
15+
],
16+
"maintainers": ["victoralmau"],
17+
}

rma_inter_company/i18n/es.po

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * rma_inter_company
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 18.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2026-02-24 08:21+0000\n"
10+
"PO-Revision-Date: 2026-02-24 08:21+0000\n"
11+
"Last-Translator: \n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: \n"
17+
18+
#. module: rma_inter_company
19+
#: model:ir.model,name:rma_inter_company.model_res_company
20+
msgid "Companies"
21+
msgstr "Compañías"
22+
23+
#. module: rma_inter_company
24+
#: model:ir.model,name:rma_inter_company.model_res_config_settings
25+
msgid "Config Settings"
26+
msgstr "Ajustes de configuración"
27+
28+
#. module: rma_inter_company
29+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
30+
msgid "Generate Intercompany RMA"
31+
msgstr "Generar RMA Intercompañía"
32+
33+
#. module: rma_inter_company
34+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
35+
msgid "Inter Company"
36+
msgstr "Inter Compañía"
37+
38+
#. module: rma_inter_company
39+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma
40+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma
41+
msgid "Inter Company RMA"
42+
msgstr "RMA Inter Compañía"
43+
44+
#. module: rma_inter_company
45+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_company_id
46+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_company_id
47+
msgid "Inter Company RMA Company"
48+
msgstr "RMA Inter Compañía (Compañía)"
49+
50+
#. module: rma_inter_company
51+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_domain
52+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_domain
53+
msgid "Inter Company RMA Domain"
54+
msgstr "RMA Inter Compañía (Dominio)"
55+
56+
#. module: rma_inter_company
57+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_team_id
58+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_team_id
59+
msgid "Inter Company RMA Team"
60+
msgstr "RMA Inter Compañía (Equipo)"
61+
62+
#. module: rma_inter_company
63+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_user_id
64+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_user_id
65+
msgid "Inter Company RMA User"
66+
msgstr "RMA Inter Compañía (Usuario)"
67+
68+
#. module: rma_inter_company
69+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
70+
msgid "Intercompany Company"
71+
msgstr "Compañía Intercompañía"
72+
73+
#. module: rma_inter_company
74+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
75+
msgid "Intercompany Domain"
76+
msgstr "Dominio Intercompañía"
77+
78+
#. module: rma_inter_company
79+
#: model:ir.model.fields,field_description:rma_inter_company.field_rma__intercompany_origin_rma_id
80+
msgid "Intercompany Origin RMA"
81+
msgstr "RMA Origen Intercompañía"
82+
83+
#. module: rma_inter_company
84+
#: model:ir.model.fields,field_description:rma_inter_company.field_rma__intercompany_rma_id
85+
msgid "Intercompany RMA"
86+
msgstr "RMA Intercompañía"
87+
88+
#. module: rma_inter_company
89+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
90+
msgid "Intercompany Team"
91+
msgstr "Equipo Intercompañía"
92+
93+
#. module: rma_inter_company
94+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
95+
msgid "Intercompany User"
96+
msgstr "Usuario Intercompañía"
97+
98+
#. module: rma_inter_company
99+
#: model:ir.model,name:rma_inter_company.model_rma
100+
msgid "RMA"
101+
msgstr "RMA"
102+
103+
#. module: rma_inter_company
104+
#: model:ir.model,name:rma_inter_company.model_stock_move
105+
msgid "Stock Move"
106+
msgstr "Movimiento de stock"
107+
108+
#. module: rma_inter_company
109+
#: model:ir.model,name:rma_inter_company.model_stock_picking
110+
msgid "Transfer"
111+
msgstr "Traslado"
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * rma_inter_company
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 18.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2026-02-24 08:20+0000\n"
10+
"PO-Revision-Date: 2026-02-24 08:20+0000\n"
11+
"Last-Translator: \n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: \n"
17+
18+
#. module: rma_inter_company
19+
#: model:ir.model,name:rma_inter_company.model_res_company
20+
msgid "Companies"
21+
msgstr ""
22+
23+
#. module: rma_inter_company
24+
#: model:ir.model,name:rma_inter_company.model_res_config_settings
25+
msgid "Config Settings"
26+
msgstr ""
27+
28+
#. module: rma_inter_company
29+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
30+
msgid "Generate Intercompany RMA"
31+
msgstr ""
32+
33+
#. module: rma_inter_company
34+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
35+
msgid "Inter Company"
36+
msgstr ""
37+
38+
#. module: rma_inter_company
39+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma
40+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma
41+
msgid "Inter Company RMA"
42+
msgstr ""
43+
44+
#. module: rma_inter_company
45+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_company_id
46+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_company_id
47+
msgid "Inter Company RMA Company"
48+
msgstr ""
49+
50+
#. module: rma_inter_company
51+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_domain
52+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_domain
53+
msgid "Inter Company RMA Domain"
54+
msgstr ""
55+
56+
#. module: rma_inter_company
57+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_team_id
58+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_team_id
59+
msgid "Inter Company RMA Team"
60+
msgstr ""
61+
62+
#. module: rma_inter_company
63+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_user_id
64+
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_user_id
65+
msgid "Inter Company RMA User"
66+
msgstr ""
67+
68+
#. module: rma_inter_company
69+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
70+
msgid "Intercompany Company"
71+
msgstr ""
72+
73+
#. module: rma_inter_company
74+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
75+
msgid "Intercompany Domain"
76+
msgstr ""
77+
78+
#. module: rma_inter_company
79+
#: model:ir.model.fields,field_description:rma_inter_company.field_rma__intercompany_origin_rma_id
80+
msgid "Intercompany Origin RMA"
81+
msgstr ""
82+
83+
#. module: rma_inter_company
84+
#: model:ir.model.fields,field_description:rma_inter_company.field_rma__intercompany_rma_id
85+
msgid "Intercompany RMA"
86+
msgstr ""
87+
88+
#. module: rma_inter_company
89+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
90+
msgid "Intercompany Team"
91+
msgstr ""
92+
93+
#. module: rma_inter_company
94+
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
95+
msgid "Intercompany User"
96+
msgstr ""
97+
98+
#. module: rma_inter_company
99+
#: model:ir.model,name:rma_inter_company.model_rma
100+
msgid "RMA"
101+
msgstr ""
102+
103+
#. module: rma_inter_company
104+
#: model:ir.model,name:rma_inter_company.model_stock_move
105+
msgid "Stock Move"
106+
msgstr ""
107+
108+
#. module: rma_inter_company
109+
#: model:ir.model,name:rma_inter_company.model_stock_picking
110+
msgid "Transfer"
111+
msgstr ""
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
from . import rma
4+
from . import stock_picking
5+
from . import stock_rule

0 commit comments

Comments
 (0)