[IMP] rma: Return created sequence on create_rma_index

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/
This commit is contained in:
Pedro M. Baeza
2020-08-22 19:14:54 +02:00
committed by Víctor Martínez
parent 3d888947ac
commit 36a5de7c41
3 changed files with 7 additions and 6 deletions

View File

@@ -1080,7 +1080,8 @@ msgstr "RMAs que originaron esta orden"
#. module: rma #. module: rma
#: model:ir.model.fields,help:rma.field_stock_warehouse__rma #: model:ir.model.fields,help:rma.field_stock_warehouse__rma
msgid "RMA related products can be stored in this warehouse." msgid "RMA related products can be stored in this warehouse."
msgstr "Productos relacionados con el RMA pueden ser guardados en este almacén." msgstr ""
"Productos relacionados con el RMA pueden ser guardados en este almacén."
#. module: rma #. module: rma
#: model:ir.model,name:rma.model_rma_operation #: model:ir.model,name:rma.model_rma_operation
@@ -1418,8 +1419,8 @@ msgid ""
"The name of the email alias, e.g. 'jobs' if you want to catch emails for " "The name of the email alias, e.g. 'jobs' if you want to catch emails for "
"<jobs@example.odoo.com>" "<jobs@example.odoo.com>"
msgstr "" msgstr ""
"El nombre de este seudónimo de correo electrónico. Por ejemplo, \"trabajos\"" "El nombre de este seudónimo de correo electrónico. Por ejemplo, \"trabajos"
", si lo que quiere es obtener los correos para <trabajos@example.odoo.com>" "\", si lo que quiere es obtener los correos para <trabajos@example.odoo.com>"
#. module: rma #. module: rma
#: model:ir.model.fields,help:rma.field_rma_team__alias_user_id #: model:ir.model.fields,help:rma.field_rma_team__alias_user_id
@@ -1436,7 +1437,7 @@ msgstr ""
"dirección." "dirección."
#. module: rma #. module: rma
#: code:addons/rma/models/stock_move.py:60 #: code:addons/rma/models/stock_move.py:64
#, python-format #, python-format
msgid "" msgid ""
"The quantity done for the product '%s' must be equal to its initial demand " "The quantity done for the product '%s' must be equal to its initial demand "

View File

@@ -1434,7 +1434,7 @@ msgstr ""
"nenhum usuário do sistema for encontrado para esse endereço." "nenhum usuário do sistema for encontrado para esse endereço."
#. module: rma #. module: rma
#: code:addons/rma/models/stock_move.py:60 #: code:addons/rma/models/stock_move.py:64
#, python-format #, python-format
msgid "" msgid ""
"The quantity done for the product '%s' must be equal to its initial demand " "The quantity done for the product '%s' must be equal to its initial demand "

View File

@@ -14,7 +14,7 @@ class Company(models.Model):
return company return company
def create_rma_index(self): def create_rma_index(self):
self.env['ir.sequence'].sudo().create({ return self.env['ir.sequence'].sudo().create({
'name': _('RMA Code'), 'name': _('RMA Code'),
'prefix': 'RMA', 'prefix': 'RMA',
'code': 'rma', 'code': 'rma',