Skip to content

Commit a2dfe6f

Browse files
committed
[ADD] rma_inter_company: New module
TT57882
1 parent 9168a64 commit a2dfe6f

21 files changed

+1314
-0
lines changed

rma_inter_company/README.rst

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
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+
#. Create Company A. #. Create Company B. #. [Company A]: Check the
50+
I"nter Company RMA" field (RMA > Configuration > Settings). #. [Company
51+
A]: Define "Inter Company RMA Company" with Company B (RMA >
52+
Configuration > Settings). #. You can add a condition in the "Inter
53+
Company RMA Domain" field so that the Inter Company RMA is only created
54+
if that condition is met.
55+
56+
Usage
57+
=====
58+
59+
#. Create an RMA in Company A. #. Confirm the RMA from Company A. #. The
60+
RMA from Company B will be confirmed automatically. #. Reception picking
61+
for RMA A will have Transit Location defined as the destination
62+
location. #. Reception picking for RMA B will have Transit Location
63+
defined as the origin location. #. When validating the reception picking
64+
for RMA B, the reception picking for RMA A will be auto-done first. #.
65+
When creating a delivery picking (return or replace) in RMA B, it will
66+
also be created in RMA A. #. The RMA B delivery picking will have
67+
Transit Location as its destination location. #. The RMA A delivery
68+
picking will have Transit Location as its origin location. #. When
69+
validating the RMA B delivery picking, the RMA A delivery picking will
70+
be automatically done.
71+
72+
#. If RMA B is canceled, RMA A is automatically canceled. #. If RMA B is
73+
confirmed, RMA A is automatically confirmed. #. If RMA B is returned
74+
(using the return or replace button), RMA A is automatically returned.
75+
76+
Bug Tracker
77+
===========
78+
79+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/multi-company/issues>`_.
80+
In case of trouble, please check there if your issue has already been reported.
81+
If you spotted it first, help us to smash it by providing a detailed and welcomed
82+
`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**>`_.
83+
84+
Do not contact contributors directly about support or help with technical issues.
85+
86+
Credits
87+
=======
88+
89+
Authors
90+
-------
91+
92+
* Tecnativa
93+
94+
Contributors
95+
------------
96+
97+
- \`Tecnativa <https://www.tecnativa.com>\`:
98+
99+
- Víctor Martínez
100+
- Pedro M. Baeza
101+
102+
Maintainers
103+
-----------
104+
105+
This module is maintained by the OCA.
106+
107+
.. image:: https://odoo-community.org/logo.png
108+
:alt: Odoo Community Association
109+
:target: https://odoo-community.org
110+
111+
OCA, or the Odoo Community Association, is a nonprofit organization whose
112+
mission is to support the collaborative development of Odoo features and
113+
promote its widespread use.
114+
115+
.. |maintainer-victoralmau| image:: https://github.com/victoralmau.png?size=40px
116+
:target: https://github.com/victoralmau
117+
:alt: victoralmau
118+
119+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
120+
121+
|maintainer-victoralmau|
122+
123+
This module is part of the `OCA/multi-company <https://github.com/OCA/multi-company/tree/18.0/rma_inter_company>`_ project on GitHub.
124+
125+
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": ["rma"],
13+
"data": [
14+
"views/res_config_settings_view.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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
from . import res_company
4+
from . import res_config_settings
5+
from . import rma
6+
from . import stock_picking

0 commit comments

Comments
 (0)