Skip to content
Merged
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ Available addons
addon | version | maintainers | summary
--- | --- | --- | ---
[product_warranty](product_warranty/) | 18.0.1.0.0 | <a href='https://github.com/osi-scampbell'><img src='https://github.com/osi-scampbell.png' width='32' height='32' style='border-radius:50%;' alt='osi-scampbell'/></a> <a href='https://github.com/max3903'><img src='https://github.com/max3903.png' width='32' height='32' style='border-radius:50%;' alt='max3903'/></a> | Product Warranty
[rma](rma/) | 18.0.2.4.0 | <a href='https://github.com/pedrobaeza'><img src='https://github.com/pedrobaeza.png' width='32' height='32' style='border-radius:50%;' alt='pedrobaeza'/></a> <a href='https://github.com/chienandalu'><img src='https://github.com/chienandalu.png' width='32' height='32' style='border-radius:50%;' alt='chienandalu'/></a> | Return Merchandise Authorization (RMA)
[rma](rma/) | 18.0.2.4.1 | <a href='https://github.com/pedrobaeza'><img src='https://github.com/pedrobaeza.png' width='32' height='32' style='border-radius:50%;' alt='pedrobaeza'/></a> <a href='https://github.com/chienandalu'><img src='https://github.com/chienandalu.png' width='32' height='32' style='border-radius:50%;' alt='chienandalu'/></a> | 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 | <a href='https://github.com/chienandalu'><img src='https://github.com/chienandalu.png' width='32' height='32' style='border-radius:50%;' alt='chienandalu'/></a> | 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 | <a href='https://github.com/sbejaoui'><img src='https://github.com/sbejaoui.png' width='32' height='32' style='border-radius:50%;' alt='sbejaoui'/></a> | Rma Reason
[rma_repair](rma_repair/) | 18.0.1.0.1 | <a href='https://github.com/peluko00'><img src='https://github.com/peluko00.png' width='32' height='32' style='border-radius:50%;' alt='peluko00'/></a> | Create a repair order from rma
[rma_repair_lot](rma_repair_lot/) | 18.0.1.0.1 | <a href='https://github.com/peluko00'><img src='https://github.com/peluko00.png' width='32' height='32' style='border-radius:50%;' alt='peluko00'/></a> | RMA Repair Lot
[rma_sale](rma_sale/) | 18.0.2.2.0 | <a href='https://github.com/pedrobaeza'><img src='https://github.com/pedrobaeza.png' width='32' height='32' style='border-radius:50%;' alt='pedrobaeza'/></a> | Sale Order - Return Merchandise Authorization (RMA)
[rma_sale](rma_sale/) | 18.0.2.2.1 | <a href='https://github.com/pedrobaeza'><img src='https://github.com/pedrobaeza.png' width='32' height='32' style='border-radius:50%;' alt='pedrobaeza'/></a> | 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 | <a href='https://github.com/victoralmau'><img src='https://github.com/victoralmau.png' width='32' height='32' style='border-radius:50%;' alt='victoralmau'/></a> | RMA Sale Delivery
[rma_sale_lot](rma_sale_lot/) | 18.0.1.1.0 | | Manage sale returns with lot.
Expand Down
2 changes: 1 addition & 1 deletion rma/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rma/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions rma/models/rma.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down
2 changes: 1 addition & 1 deletion rma/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Return Merchandise Authorization Management</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d33352f401e2feac721a018cbf2a92cc001eb9bf47c7374f0766016f30ae8801
!! source digest: sha256:1e9db7e0bb4c78770a339c9206f6b474ffb1da32fb785c33fb0e8887d0f2de53
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/rma/tree/18.0/rma"><img alt="OCA/rma" src="https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/rma-18-0/rma-18-0-rma"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/rma&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows you to manage <a class="reference external" href="https://en.wikipedia.org/wiki/Return_merchandise_authorization">Return Merchandise Authorization
Expand Down
2 changes: 1 addition & 1 deletion rma_sale/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rma_sale/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 9 additions & 1 deletion rma_sale/models/rma.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion rma_sale/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Return Merchandise Authorization Management - Link with Sales</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d6b1fa6b32cd70af3f184e15523665b6c4a0ed698ff894ea34ca0ef8f006a4f4
!! source digest: sha256:d242f1d5851f4a6664481283eeda2cadbb498a0af28d19c739910faaceb15ba0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/rma/tree/18.0/rma_sale"><img alt="OCA/rma" src="https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/rma-18-0/rma-18-0-rma_sale"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/rma&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows you to link a sales order to an RMA. This can be done
Expand Down
115 changes: 115 additions & 0 deletions rma_sale_auto_detect/i18n/it.po
Original file line number Diff line number Diff line change
@@ -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 <stefano.consolaro@mymage.it>\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"
Loading