Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
133 changes: 133 additions & 0 deletions rma_inter_company/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
============================
Inter Company Module for RMA
============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:19ef773ed511665dadbb5c7430e6003d236bd009cc440da13a320ab9fe19f1a5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmulti--company-lightgray.png?logo=github
:target: https://github.com/OCA/multi-company/tree/18.0/rma_inter_company
:alt: OCA/multi-company
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/multi-company-18-0/multi-company-18-0-rma_inter_company
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/multi-company&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Automatically create an Inter Company RMA so that it can be managed
independently but still remain linked.

**Table of contents**

.. contents::
:local:

Use Cases / Context
===================

If a company (Company A) sells products but uses dropshipping (Company
B), when the customer makes an RMA with Company A, everything must be
managed internally in another RMA with Company B.

Configuration
=============

#. Configure the settings specified in
purchase_sale_stock_inter_company. #. Install stock_dropshipping #.
Create a product and select the Dropshipping route #. [Company A] Set
Company B as the supplier in the Purchasing tab #. [Company B] Set any
contact (Azure Interior, for example) as the supplier in the Purchasing
tab.

Usage
=====

#. [Company A] Create a sales order and use the previously created
product. #. [Company A] Confirm the sales order. #. [Company A] The
corresponding purchase order will have been created (confirm it if
necessary). #. [Company A] Complete the sales order delivery note. #.
[Company A] Create the RMA linked to the sales order. #. [Company B] The
sales order RMA will have been created automatically and will be linked.
#. The RMA from Company B will be confirmed automatically. #. Reception
picking for RMA A will have Transit Location defined as the destination
location. #. Reception picking for RMA B will have Transit Location
defined as the origin location. #. When validating the reception picking
for RMA B, the reception picking for RMA A will be auto-done first. #.
When creating a delivery picking (return or replace) in RMA B, it will
also be created in RMA A. #. The RMA B delivery picking will have
Transit Location as its destination location. #. The RMA A delivery
picking will have Transit Location as its origin location. #. When
validating the RMA B delivery picking, the RMA A delivery picking will
be automatically done. #. If RMA A is canceled, RMA B is automatically
canceled. #. If RMA B is canceled, RMA A is automatically canceled. #.
If RMA A is confirmed, RMA B is automatically confirmed. #. If RMA B is
confirmed, RMA A is automatically confirmed. #. If RMA A is returned
(using the return or replace button), RMA B is automatically returned.
#. If RMA B is returned (using the return or replace button), RMA A is
automatically returned. #. If RMA A is refunded, RMA B is automatically
returned. #. If RMA B is refunded, RMA A is automatically returned.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/multi-company/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`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**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Tecnativa

Contributors
------------

- \`Tecnativa <https://www.tecnativa.com>\`:

- Víctor Martínez
- Pedro M. Baeza

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-victoralmau| image:: https://github.com/victoralmau.png?size=40px
:target: https://github.com/victoralmau
:alt: victoralmau

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-victoralmau|

This module is part of the `OCA/multi-company <https://github.com/OCA/multi-company/tree/18.0/rma_inter_company>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions rma_inter_company/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions rma_inter_company/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2026 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Inter Company Module for RMA",
"version": "18.0.1.0.0",
"category": "Purchase Management",
"website": "https://github.com/OCA/multi-company",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": ["purchase_sale_stock_inter_company", "rma_sale"],
"data": [
"views/rma_views.xml",
],
"maintainers": ["victoralmau"],
}
111 changes: 111 additions & 0 deletions rma_inter_company/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * rma_inter_company
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-24 08:21+0000\n"
"PO-Revision-Date: 2026-02-24 08:21+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: rma_inter_company
#: model:ir.model,name:rma_inter_company.model_res_company
msgid "Companies"
msgstr "Compañías"

#. module: rma_inter_company
#: model:ir.model,name:rma_inter_company.model_res_config_settings
msgid "Config Settings"
msgstr "Ajustes de configuración"

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Generate Intercompany RMA"
msgstr "Generar RMA Intercompañía"

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Inter Company"
msgstr "Inter Compañía"

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma
msgid "Inter Company RMA"
msgstr "RMA Inter Compañía"

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_company_id
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_company_id
msgid "Inter Company RMA Company"
msgstr "RMA Inter Compañía (Compañía)"

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_domain
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_domain
msgid "Inter Company RMA Domain"
msgstr "RMA Inter Compañía (Dominio)"

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_team_id
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_team_id
msgid "Inter Company RMA Team"
msgstr "RMA Inter Compañía (Equipo)"

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_user_id
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_user_id
msgid "Inter Company RMA User"
msgstr "RMA Inter Compañía (Usuario)"

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Intercompany Company"
msgstr "Compañía Intercompañía"

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Intercompany Domain"
msgstr "Dominio Intercompañía"

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_rma__intercompany_origin_rma_id
msgid "Intercompany Origin RMA"
msgstr "RMA Origen Intercompañía"

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_rma__intercompany_rma_id
msgid "Intercompany RMA"
msgstr "RMA Intercompañía"

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Intercompany Team"
msgstr "Equipo Intercompañía"

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Intercompany User"
msgstr "Usuario Intercompañía"

#. module: rma_inter_company
#: model:ir.model,name:rma_inter_company.model_rma
msgid "RMA"
msgstr "RMA"

#. module: rma_inter_company
#: model:ir.model,name:rma_inter_company.model_stock_move
msgid "Stock Move"
msgstr "Movimiento de stock"

#. module: rma_inter_company
#: model:ir.model,name:rma_inter_company.model_stock_picking
msgid "Transfer"
msgstr "Traslado"
111 changes: 111 additions & 0 deletions rma_inter_company/i18n/rma_inter_company.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * rma_inter_company
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-24 08:20+0000\n"
"PO-Revision-Date: 2026-02-24 08:20+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: rma_inter_company
#: model:ir.model,name:rma_inter_company.model_res_company
msgid "Companies"
msgstr ""

#. module: rma_inter_company
#: model:ir.model,name:rma_inter_company.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Generate Intercompany RMA"
msgstr ""

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Inter Company"
msgstr ""

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma
msgid "Inter Company RMA"
msgstr ""

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_company_id
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_company_id
msgid "Inter Company RMA Company"
msgstr ""

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_domain
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_domain
msgid "Inter Company RMA Domain"
msgstr ""

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_team_id
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_team_id
msgid "Inter Company RMA Team"
msgstr ""

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_res_company__intercompany_rma_user_id
#: model:ir.model.fields,field_description:rma_inter_company.field_res_config_settings__intercompany_rma_user_id
msgid "Inter Company RMA User"
msgstr ""

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Intercompany Company"
msgstr ""

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Intercompany Domain"
msgstr ""

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_rma__intercompany_origin_rma_id
msgid "Intercompany Origin RMA"
msgstr ""

#. module: rma_inter_company
#: model:ir.model.fields,field_description:rma_inter_company.field_rma__intercompany_rma_id
msgid "Intercompany RMA"
msgstr ""

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Intercompany Team"
msgstr ""

#. module: rma_inter_company
#: model_terms:ir.ui.view,arch_db:rma_inter_company.res_config_settings_view_form
msgid "Intercompany User"
msgstr ""

#. module: rma_inter_company
#: model:ir.model,name:rma_inter_company.model_rma
msgid "RMA"
msgstr ""

#. module: rma_inter_company
#: model:ir.model,name:rma_inter_company.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: rma_inter_company
#: model:ir.model,name:rma_inter_company.model_stock_picking
msgid "Transfer"
msgstr ""
5 changes: 5 additions & 0 deletions rma_inter_company/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import rma
from . import stock_picking
from . import stock_rule
Loading
Loading