Skip to content

Commit 2c78343

Browse files
committed
[MIG] rma_sale: Migration to 18.0
TT54264
1 parent 1de133a commit 2c78343

22 files changed

+227
-375
lines changed

rma_sale/__manifest__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"name": "Return Merchandise Authorization Management - Link with Sales",
88
"summary": "Sale Order - Return Merchandise Authorization (RMA)",
9-
"version": "16.0.3.1.0",
9+
"version": "18.0.1.0.0",
1010
"development_status": "Production/Stable",
1111
"category": "RMA",
1212
"website": "https://github.com/OCA/rma",
@@ -26,7 +26,7 @@
2626
],
2727
"assets": {
2828
"web.assets_frontend": [
29-
"/rma_sale/static/src/js/rma_portal_form.js",
29+
"/rma_sale/static/src/js/rma_portal_form.esm.js",
3030
"/rma_sale/static/src/scss/rma_sale.scss",
3131
],
3232
"web.assets_tests": [

rma_sale/i18n/de.po

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -495,12 +495,3 @@ msgid ""
495495
msgstr ""
496496
"Sie sind dabei, eine RMA-Anfrage durchzuführen. Unser Team wird es "
497497
"bearbeiten und Sie erreichen, sobald es validiert ist. Denk daran, dass:"
498-
499-
#~ msgid "<strong>Requested operation:</strong>"
500-
#~ msgstr "<strong>Angeforderte Operation:</strong>"
501-
502-
#~ msgid "<strong>Sale order:</strong>"
503-
#~ msgstr "<strong>Verkaufsauftrag:</strong>"
504-
505-
#~ msgid "Stock Move"
506-
#~ msgstr "Lagerbewegung"

rma_sale/i18n/es.po

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -490,40 +490,3 @@ msgid ""
490490
msgstr ""
491491
"Va a realizar una petición de RMA. Nuestro equipo la procesará y se pondrá "
492492
"en contacto con usted una vez validad. Tenga en cuenta que:"
493-
494-
#~ msgid "<strong>Requested operation:</strong>"
495-
#~ msgstr "<strong>Operación solicitada:</strong>"
496-
497-
#~ msgid "<strong>Sale order:</strong>"
498-
#~ msgstr "<strong>Orden de venta:</strong>"
499-
500-
#~ msgid "Stock Move"
501-
#~ msgstr "Movimiento de existencias"
502-
503-
#~ msgid ""
504-
#~ "<span>\n"
505-
#~ " If an RMA has already been created for a "
506-
#~ "product in this sales order, it will not\n"
507-
#~ " be possible to create another one from "
508-
#~ "the web portal.\n"
509-
#~ " </span>"
510-
#~ msgstr ""
511-
#~ "<span>\n"
512-
#~ " Si ya se ha creado un RMA para un "
513-
#~ "producto de esta orden de venta, no será\n"
514-
#~ " posible crear otro desde el portal web.\n"
515-
#~ " </span>"
516-
517-
#~ msgid "Domain Move"
518-
#~ msgstr "Dominio de movimientos"
519-
520-
#~ msgid "Domain Picking"
521-
#~ msgstr "Dominio de entregas"
522-
523-
#~ msgid "Domain Product"
524-
#~ msgstr "Dominio de productos"
525-
526-
#, fuzzy
527-
#~| msgid "Delivery"
528-
#~ msgid "Is Sale Delivery"
529-
#~ msgstr "Es entrega de orden de venta"

rma_sale/i18n/fr.po

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -491,12 +491,3 @@ msgid ""
491491
msgstr ""
492492
"Vous êtes sur le point d'effectuer une demande RMA. Notre équipe le traitera "
493493
"et vous parviendra une fois validé. Garde en tête que:"
494-
495-
#~ msgid "<strong>Requested operation:</strong>"
496-
#~ msgstr "<strong>Opération demandée:</strong>"
497-
498-
#~ msgid "<strong>Sale order:</strong>"
499-
#~ msgstr "<strong>Bon de commande:</strong>"
500-
501-
#~ msgid "Stock Move"
502-
#~ msgstr "mouvement de stock"

rma_sale/i18n/it.po

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -487,12 +487,3 @@ msgid ""
487487
msgstr ""
488488
"Stai per eseguire una richiesta RMA. Il nostro team lo elaborerà e ti "
489489
"arriverà una volta convalidato. Tieni presente che:"
490-
491-
#~ msgid "<strong>Requested operation:</strong>"
492-
#~ msgstr "<strong>Operazione richiesta:</strong>"
493-
494-
#~ msgid "<strong>Sale order:</strong>"
495-
#~ msgstr "<strong>Ordine di vendita:</strong>"
496-
497-
#~ msgid "Stock Move"
498-
#~ msgstr "Movimento di magazzino"

rma_sale/i18n/nl.po

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,3 @@ msgid ""
478478
msgstr ""
479479
"U staat op het punt een RMA verzoek in te dienen. Ons team zal de aanvraag "
480480
"verwerken. Let op dat:"
481-
482-
#~ msgid "Stock Move"
483-
#~ msgstr "Voorraad aanpassing"

rma_sale/i18n/pt.po

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -490,12 +490,3 @@ msgid ""
490490
msgstr ""
491491
"Você está prestes a realizar um pedido de RMA. A nossa equipa irá processá-"
492492
"lo e entrará em contacto assim que for validado. Tenha presente que:"
493-
494-
#~ msgid "<strong>Requested operation:</strong>"
495-
#~ msgstr "<strong>Operação Requerida:</strong>"
496-
497-
#~ msgid "<strong>Sale order:</strong>"
498-
#~ msgstr "<strong>Encomenda de Venda:</strong>"
499-
500-
#~ msgid "Stock Move"
501-
#~ msgstr "Movimento de Stock"

rma_sale/i18n/pt_BR.po

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -472,24 +472,3 @@ msgid ""
472472
"You're about to perform an RMA request. Our team will process it an will "
473473
"reach you once it's validated. Keep in mind that:"
474474
msgstr ""
475-
476-
#~ msgid "<strong>Requested operation:</strong>"
477-
#~ msgstr "<strong>Operação Requerida:</strong>"
478-
479-
#~ msgid "<strong>Sale order:</strong>"
480-
#~ msgstr "<strong>Pedido de Venda:</strong>"
481-
482-
#~ msgid ""
483-
#~ "<span>\n"
484-
#~ " If an RMA has already been created for a "
485-
#~ "product in this sales order, it will not\n"
486-
#~ " be possible to create another one from "
487-
#~ "the web portal.\n"
488-
#~ " </span>"
489-
#~ msgstr ""
490-
#~ "<span>\n"
491-
#~ " Se um RMA já houver sido criado para um "
492-
#~ "produto no pedido de venda,\n"
493-
#~ " não será possível criar outro através do "
494-
#~ "portal web.\n"
495-
#~ " </span>"

rma_sale/i18n/ro.po

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -482,12 +482,3 @@ msgid ""
482482
msgstr ""
483483
"Sunteți pe cale să efectuați o solicitare de retur. Echipa noastră o va "
484484
"procesa odată ce va fi validată. Ține minte că:"
485-
486-
#~ msgid "<strong>Requested operation:</strong>"
487-
#~ msgstr "<strong>Operație solicitată:</strong>"
488-
489-
#~ msgid "<strong>Sale order:</strong>"
490-
#~ msgstr "<strong>Comandă vânzare:</strong>"
491-
492-
#~ msgid "Stock Move"
493-
#~ msgstr "Mișcare stoc"

rma_sale/models/sale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def action_create_rma(self):
6161

6262
def action_view_rma(self):
6363
self.ensure_one()
64-
action = self.sudo().env.ref("rma.rma_action").read()[0]
64+
action = self.env["ir.actions.act_window"]._for_xml_id("rma.rma_action")
6565
rma = self.rma_ids
6666
if len(rma) == 1:
6767
action.update(

0 commit comments

Comments
 (0)