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/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": [], 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/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): 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 diff --git a/rma_sale_auto_detect/i18n/it.po b/rma_sale_auto_detect/i18n/it.po new file mode 100644 index 000000000..86dc7f17c --- /dev/null +++ b/rma_sale_auto_detect/i18n/it.po @@ -0,0 +1,115 @@ +# 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" +"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 +#: 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 "" +"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 "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 "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 "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 "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 "Quantità restituibile RMA" + +#. module: rma_sale_auto_detect +#: model:ir.model,name:rma_sale_auto_detect.model_rma_operation +msgid "RMA requested operation" +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 "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 "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 "Nota auto rilevamento vendita" + +#. module: rma_sale_auto_detect +#: model:ir.model,name:rma_sale_auto_detect.model_stock_move +msgid "Stock Move" +msgstr "Movimento di magazzino" + +#. 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 "" +"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 +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"