From f13eb67e71598e5641eeb3d07193b111bad17c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Thu, 28 May 2026 19:45:50 +0200 Subject: [PATCH 1/5] [IMP] rma: Add partner_shipping_id to refund invoice TT62787 --- rma/models/rma.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rma/models/rma.py b/rma/models/rma.py index 6947504e3..2bf8df7da 100644 --- a/rma/models/rma.py +++ b/rma/models/rma.py @@ -1234,6 +1234,7 @@ def _prepare_refund_vals(self, origin=False): "move_type": "out_refund", "company_id": self.company_id.id, "partner_id": self.partner_invoice_id.id, + "partner_shipping_id": self.partner_shipping_id.id, "invoice_payment_term_id": False, "invoice_origin": origin, "invoice_line_ids": [], From 43694af4aa631afacbaba668756978598220e108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Thu, 28 May 2026 19:49:52 +0200 Subject: [PATCH 2/5] [IMP] rma_sale: Set fiscal_position_id on the refund invoice TT62787 --- rma_sale/models/rma.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rma_sale/models/rma.py b/rma_sale/models/rma.py index fdd2542a7..3d544dae4 100644 --- a/rma_sale/models/rma.py +++ b/rma_sale/models/rma.py @@ -134,11 +134,19 @@ def action_refund(self): return res def _prepare_refund_vals(self, origin=False): - """Inject salesman from sales order (if any)""" + """Inject fiscal_position_id + salesman from sales order (if any)""" vals = super()._prepare_refund_vals(origin=origin) order = self.sudo().order_id if order: vals["invoice_user_id"] = order.user_id.id + # It is important to set the correct fiscal position for the sales order + # when creating the invoice, just as it is done in sale + vals["fiscal_position_id"] = ( + order.fiscal_position_id + or order.fiscal_position_id._get_fiscal_position( + self.partner_invoice_id + ) + ).id return vals def _prepare_refund_line_vals(self): From f6caba1c587fc62358b3ff92b53fdcdcd051890d Mon Sep 17 00:00:00 2001 From: mymage Date: Fri, 29 May 2026 09:39:01 +0000 Subject: [PATCH 3/5] Added translation using Weblate (Italian) --- rma_sale_auto_detect/i18n/it.po | 102 ++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 rma_sale_auto_detect/i18n/it.po diff --git a/rma_sale_auto_detect/i18n/it.po b/rma_sale_auto_detect/i18n/it.po new file mode 100644 index 000000000..e1d48800b --- /dev/null +++ b/rma_sale_auto_detect/i18n/it.po @@ -0,0 +1,102 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * rma_sale_auto_detect +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: rma_sale_auto_detect +#: model:ir.model.fields,help:rma_sale_auto_detect.field_rma__return_eligibility_days +#: model:ir.model.fields,help:rma_sale_auto_detect.field_rma_operation__return_eligibility_days +msgid "" +"Defines the time window in which sales can be linked automatically to RMA " +"lines. Example: 30 days (change of mind), 730 days (warranty), 0 to disable," +" or a large number for lifetime warranty." +msgstr "" + +#. module: rma_sale_auto_detect +#: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma__has_sale_auto_detect_issue +msgid "Has Sale Auto Detect Issue" +msgstr "" + +#. module: rma_sale_auto_detect +#: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma__ignore_sale_auto_detect +msgid "Ignore Sale Auto Detect" +msgstr "" + +#. module: rma_sale_auto_detect +#: model_terms:ir.ui.view,arch_db:rma_sale_auto_detect.rma_form_view +msgid "Link to sale line" +msgstr "" + +#. module: rma_sale_auto_detect +#. odoo-python +#: code:addons/rma_sale_auto_detect/models/rma.py:0 +msgid "No delivery move found or insufficient delivered quantity." +msgstr "" + +#. module: rma_sale_auto_detect +#: model:ir.model.fields,help:rma_sale_auto_detect.field_stock_move__rma_returnable_uom_qty +msgid "" +"Quantity of this delivery move still eligible to be returned through RMA" +msgstr "" + +#. module: rma_sale_auto_detect +#: model:ir.model,name:rma_sale_auto_detect.model_rma +msgid "RMA" +msgstr "" + +#. module: rma_sale_auto_detect +#: model:ir.model.fields,field_description:rma_sale_auto_detect.field_stock_move__rma_returnable_uom_qty +msgid "RMA Returnable Quantity" +msgstr "" + +#. module: rma_sale_auto_detect +#: model:ir.model,name:rma_sale_auto_detect.model_rma_operation +msgid "RMA requested operation" +msgstr "" + +#. module: rma_sale_auto_detect +#: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma__return_eligibility_period_exceeded +msgid "Return Eligibility Period Exceeded" +msgstr "" + +#. module: rma_sale_auto_detect +#: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma__return_eligibility_days +#: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma_operation__return_eligibility_days +msgid "Return eligibility duration (days)" +msgstr "" + +#. module: rma_sale_auto_detect +#: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma__sale_auto_detect_note +msgid "Sale Auto Detect Note" +msgstr "" + +#. module: rma_sale_auto_detect +#: model:ir.model,name:rma_sale_auto_detect.model_stock_move +msgid "Stock Move" +msgstr "" + +#. module: rma_sale_auto_detect +#. odoo-python +#: code:addons/rma_sale_auto_detect/models/rma.py:0 +msgid "" +"The quantity to return exceeds the remaining returnable quantity for this " +"delivery." +msgstr "" + +#. module: rma_sale_auto_detect +#: model_terms:ir.ui.view,arch_db:rma_sale_auto_detect.rma_form_view +msgid "" +"This return may no longer be eligible; the return eligibility period has " +"been exceeded" +msgstr "" From 49f22fd98e9eaa271f5d8a9791a9438251c0ce6b Mon Sep 17 00:00:00 2001 From: mymage Date: Fri, 29 May 2026 11:28:57 +0000 Subject: [PATCH 4/5] Translated using Weblate (Italian) Currently translated at 100.0% (15 of 15 strings) Translation: rma-18.0/rma-18.0-rma_sale_auto_detect Translate-URL: https://translation.odoo-community.org/projects/rma-18-0/rma-18-0-rma_sale_auto_detect/it/ --- rma_sale_auto_detect/i18n/it.po | 35 ++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/rma_sale_auto_detect/i18n/it.po b/rma_sale_auto_detect/i18n/it.po index e1d48800b..86dc7f17c 100644 --- a/rma_sale_auto_detect/i18n/it.po +++ b/rma_sale_auto_detect/i18n/it.po @@ -6,13 +6,15 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 18.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2026-05-29 13:46+0000\n" +"Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.15.2\n" #. module: rma_sale_auto_detect #: model:ir.model.fields,help:rma_sale_auto_detect.field_rma__return_eligibility_days @@ -22,69 +24,76 @@ msgid "" "lines. Example: 30 days (change of mind), 730 days (warranty), 0 to disable," " or a large number for lifetime warranty." msgstr "" +"Definisce l'intervallo di tempo in cui le vendite possono essere collegate " +"automaticamente alle righe RMA. Esempio: 30 giorni (ripensamento), 730 " +"giorni (garanzia), 0 per disabilitare o un numero elevato per la garanzia a " +"vita." #. module: rma_sale_auto_detect #: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma__has_sale_auto_detect_issue msgid "Has Sale Auto Detect Issue" -msgstr "" +msgstr "Ha un problema auto rileva vendita" #. module: rma_sale_auto_detect #: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma__ignore_sale_auto_detect msgid "Ignore Sale Auto Detect" -msgstr "" +msgstr "Ignora auto rileva vendita" #. module: rma_sale_auto_detect #: model_terms:ir.ui.view,arch_db:rma_sale_auto_detect.rma_form_view msgid "Link to sale line" -msgstr "" +msgstr "Collegamento a riga di vendita" #. module: rma_sale_auto_detect #. odoo-python #: code:addons/rma_sale_auto_detect/models/rma.py:0 msgid "No delivery move found or insufficient delivered quantity." msgstr "" +"Nessun movimento di vendita trovato o quantità consegnata insufficiente." #. module: rma_sale_auto_detect #: model:ir.model.fields,help:rma_sale_auto_detect.field_stock_move__rma_returnable_uom_qty msgid "" "Quantity of this delivery move still eligible to be returned through RMA" msgstr "" +"La quantità di questo movimento di consegna è ancora disponibile per il " +"rimborso tramite RMA" #. module: rma_sale_auto_detect #: model:ir.model,name:rma_sale_auto_detect.model_rma msgid "RMA" -msgstr "" +msgstr "RMA" #. module: rma_sale_auto_detect #: model:ir.model.fields,field_description:rma_sale_auto_detect.field_stock_move__rma_returnable_uom_qty msgid "RMA Returnable Quantity" -msgstr "" +msgstr "Quantità restituibile RMA" #. module: rma_sale_auto_detect #: model:ir.model,name:rma_sale_auto_detect.model_rma_operation msgid "RMA requested operation" -msgstr "" +msgstr "Operazione richiesta RMA" #. module: rma_sale_auto_detect #: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma__return_eligibility_period_exceeded msgid "Return Eligibility Period Exceeded" -msgstr "" +msgstr "Periodo disponibilità reso superato" #. module: rma_sale_auto_detect #: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma__return_eligibility_days #: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma_operation__return_eligibility_days msgid "Return eligibility duration (days)" -msgstr "" +msgstr "Durata periodo disponibilità reso (giorni)" #. module: rma_sale_auto_detect #: model:ir.model.fields,field_description:rma_sale_auto_detect.field_rma__sale_auto_detect_note msgid "Sale Auto Detect Note" -msgstr "" +msgstr "Nota auto rilevamento vendita" #. module: rma_sale_auto_detect #: model:ir.model,name:rma_sale_auto_detect.model_stock_move msgid "Stock Move" -msgstr "" +msgstr "Movimento di magazzino" #. module: rma_sale_auto_detect #. odoo-python @@ -93,6 +102,8 @@ msgid "" "The quantity to return exceeds the remaining returnable quantity for this " "delivery." msgstr "" +"La quantità del reso supera la quantità residua disponibile al reso per " +"questa consegna." #. module: rma_sale_auto_detect #: model_terms:ir.ui.view,arch_db:rma_sale_auto_detect.rma_form_view @@ -100,3 +111,5 @@ msgid "" "This return may no longer be eligible; the return eligibility period has " "been exceeded" msgstr "" +"Questo reso non è più disponibile; il periodo di disponibilità del reso è " +"scaduto" From 048bc81954cb770a4ce397555579b3641bb1df98 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Fri, 29 May 2026 16:15:37 +0000 Subject: [PATCH 5/5] [BOT] post-merge updates --- README.md | 4 ++-- rma/README.rst | 2 +- rma/__manifest__.py | 2 +- rma/static/description/index.html | 2 +- rma_sale/README.rst | 2 +- rma_sale/__manifest__.py | 2 +- rma_sale/static/description/index.html | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c8a78349b..2ee8d4bf1 100644 --- a/README.md +++ b/README.md @@ -22,14 +22,14 @@ Available addons addon | version | maintainers | summary --- | --- | --- | --- [product_warranty](product_warranty/) | 18.0.1.0.0 | osi-scampbell max3903 | Product Warranty -[rma](rma/) | 18.0.2.4.0 | pedrobaeza chienandalu | Return Merchandise Authorization (RMA) +[rma](rma/) | 18.0.2.4.1 | pedrobaeza chienandalu | Return Merchandise Authorization (RMA) [rma_batch](rma_batch/) | 18.0.1.0.0 | | Group RMAs into batches for collective management [rma_delivery](rma_delivery/) | 18.0.1.4.1 | chienandalu | Allow to choose a default delivery carrier for returns [rma_lot](rma_lot/) | 18.0.1.2.0 | | Manage lot in RMA [rma_reason](rma_reason/) | 18.0.1.1.0 | sbejaoui | Rma Reason [rma_repair](rma_repair/) | 18.0.1.0.1 | peluko00 | Create a repair order from rma [rma_repair_lot](rma_repair_lot/) | 18.0.1.0.1 | peluko00 | RMA Repair Lot -[rma_sale](rma_sale/) | 18.0.2.2.0 | pedrobaeza | Sale Order - Return Merchandise Authorization (RMA) +[rma_sale](rma_sale/) | 18.0.2.2.1 | pedrobaeza | Sale Order - Return Merchandise Authorization (RMA) [rma_sale_auto_detect](rma_sale_auto_detect/) | 18.0.1.0.0 | | Automatically link RMA products to related sales orders within an eligibility period [rma_sale_delivery](rma_sale_delivery/) | 18.0.1.1.1 | victoralmau | RMA Sale Delivery [rma_sale_lot](rma_sale_lot/) | 18.0.1.1.0 | | Manage sale returns with lot. diff --git a/rma/README.rst b/rma/README.rst index 0b3f4f432..b162c4d8b 100644 --- a/rma/README.rst +++ b/rma/README.rst @@ -11,7 +11,7 @@ Return Merchandise Authorization Management !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:d33352f401e2feac721a018cbf2a92cc001eb9bf47c7374f0766016f30ae8801 + !! source digest: sha256:1e9db7e0bb4c78770a339c9206f6b474ffb1da32fb785c33fb0e8887d0f2de53 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png diff --git a/rma/__manifest__.py b/rma/__manifest__.py index d4e3f4c51..1ed656eb3 100644 --- a/rma/__manifest__.py +++ b/rma/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Return Merchandise Authorization Management", "summary": "Return Merchandise Authorization (RMA)", - "version": "18.0.2.4.0", + "version": "18.0.2.4.1", "development_status": "Production/Stable", "category": "RMA", "website": "https://github.com/OCA/rma", diff --git a/rma/static/description/index.html b/rma/static/description/index.html index 0ddb61e39..6b44db9f4 100644 --- a/rma/static/description/index.html +++ b/rma/static/description/index.html @@ -372,7 +372,7 @@

Return Merchandise Authorization Management

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:d33352f401e2feac721a018cbf2a92cc001eb9bf47c7374f0766016f30ae8801 +!! source digest: sha256:1e9db7e0bb4c78770a339c9206f6b474ffb1da32fb785c33fb0e8887d0f2de53 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: AGPL-3 OCA/rma Translate me on Weblate Try me on Runboat

This module allows you to manage Return Merchandise Authorization diff --git a/rma_sale/README.rst b/rma_sale/README.rst index 526a9e7c5..5207bf914 100644 --- a/rma_sale/README.rst +++ b/rma_sale/README.rst @@ -11,7 +11,7 @@ Return Merchandise Authorization Management - Link with Sales !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:d6b1fa6b32cd70af3f184e15523665b6c4a0ed698ff894ea34ca0ef8f006a4f4 + !! source digest: sha256:d242f1d5851f4a6664481283eeda2cadbb498a0af28d19c739910faaceb15ba0 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png diff --git a/rma_sale/__manifest__.py b/rma_sale/__manifest__.py index 76937488d..e5fd26468 100644 --- a/rma_sale/__manifest__.py +++ b/rma_sale/__manifest__.py @@ -6,7 +6,7 @@ { "name": "Return Merchandise Authorization Management - Link with Sales", "summary": "Sale Order - Return Merchandise Authorization (RMA)", - "version": "18.0.2.2.0", + "version": "18.0.2.2.1", "development_status": "Production/Stable", "category": "RMA", "website": "https://github.com/OCA/rma", diff --git a/rma_sale/static/description/index.html b/rma_sale/static/description/index.html index de31a0bdb..f81e84db3 100644 --- a/rma_sale/static/description/index.html +++ b/rma_sale/static/description/index.html @@ -372,7 +372,7 @@

Return Merchandise Authorization Management - Link with Sales

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:d6b1fa6b32cd70af3f184e15523665b6c4a0ed698ff894ea34ca0ef8f006a4f4 +!! source digest: sha256:d242f1d5851f4a6664481283eeda2cadbb498a0af28d19c739910faaceb15ba0 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: AGPL-3 OCA/rma Translate me on Weblate Try me on Runboat

This module allows you to link a sales order to an RMA. This can be done