Skip to content

Commit

Permalink
[MIG] pos_payment_change: backport to 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danielduqma committed Nov 6, 2023
1 parent a409f23 commit f85481c
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 140 deletions.
2 changes: 1 addition & 1 deletion pos_payment_change/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Point Of Sale - Change Payments",
"version": "12.0.1.1.1",
"version": "11.0.1.0.0",
"summary": "Allow cashier to change order payments, as long as"
" the session is not closed.",
"category": "Point Of Sale",
Expand Down
164 changes: 73 additions & 91 deletions pos_payment_change/i18n/es.po
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_payment_change
# * pos_payment_change
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-10-26 11:08+0000\n"
"Last-Translator: Daniel Martinez Vila <daniel.martinez@qubiq.es>\n"
"Language-Team: none\n"
"Language: es\n"
"POT-Creation-Date: 2023-11-06 08:44+0000\n"
"PO-Revision-Date: 2023-11-06 08:44+0000\n"
"Last-Translator: <>\n"
"Language-Team: \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 3.10\n"
"Plural-Forms: \n"

#. module: pos_payment_change
#: code:addons/pos_payment_change/models/pos_order.py:84
Expand All @@ -23,144 +22,134 @@ msgid " (Refund Order: %s ; Resale Order: %s)"
msgstr " (Orden de reembolso: %s ; Orden de reventa: %s)"

#. module: pos_payment_change
#: model_terms:ir.ui.view,arch_db:pos_payment_change.view_pos_config_form
#: model:ir.ui.view,arch_db:pos_payment_change.view_pos_config_form
msgid "<span class=\"o_form_label\">Payment Change Policy</span>"
msgstr "<span class = \"o_form_label\">Política de cambio de pago</span>"
msgstr "<span class=\"o_form_label\">Política de cambio de pago</span>"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line__amount
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line__amount
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line_amount
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line_amount
msgid "Amount"
msgstr "Importe"

#. module: pos_payment_change
#: model_terms:ir.ui.view,arch_db:pos_payment_change.view_pos_payment_change_wizard_form
#: model:ir.ui.view,arch_db:pos_payment_change.view_pos_payment_change_wizard_form
msgid "Cancel"
msgstr "Cancelar"

#. module: pos_payment_change
#: model:ir.actions.act_window,name:pos_payment_change.action_pos_payment_change_wizard
#: model_terms:ir.ui.view,arch_db:pos_payment_change.view_pos_order_form
#: model_terms:ir.ui.view,arch_db:pos_payment_change.view_pos_payment_change_wizard_form
#: model:ir.ui.view,arch_db:pos_payment_change.view_pos_order_form
#: model:ir.ui.view,arch_db:pos_payment_change.view_pos_payment_change_wizard_form
msgid "Change Payments"
msgstr "Cambiar pagos"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line__company_currency_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line__company_currency_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line_company_currency_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line_company_currency_id
msgid "Company Currency"
msgstr "Moneda de la compañía"
msgstr "Moneda de la Compañía"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard__create_uid
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line__create_uid
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line__create_uid
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_create_uid
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line_create_uid
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line_create_uid
msgid "Created by"
msgstr "Creado por"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard__create_date
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line__create_date
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line__create_date
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_create_date
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line_create_date
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line_create_date
msgid "Created on"
msgstr "Creado el"

#. module: pos_payment_change
#: code:addons/pos_payment_change/wizards/pos_payment_change_wizard.py:72
#, python-format
msgid ""
"Differences between the two values for the POS Order '%s':\n"
msgid "Differences between the two values for the POS Order '%s':\n"
"\n"
" * Total of all the new payments %s;\n"
" * Total of the POS Order %s;\n"
"\n"
"Please change the payments."
msgstr ""
"Diferencias entre los dos valores para la orden PdV '%s':\n"
msgstr "Diferencias entre los dos valores para la orden PdV '%s':\n"
"\n"
" * Total de todos los nuevos pagos %s;\n"
" * Total del pedido del punto de venta %s;\n"
"\n"
"Por favor cambie los pagos."

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard__display_name
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line__display_name
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line__display_name
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_display_name
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line_display_name
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line_display_name
msgid "Display Name"
msgstr "Nombre a mostrar"
msgstr "Nombre a Mostrar"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard__id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line__id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line__id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line_id
msgid "ID"
msgstr "ID"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line__new_journal_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line__old_journal_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line_new_journal_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line_old_journal_id
msgid "Journal"
msgstr "Diario"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard____last_update
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line____last_update
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line____last_update
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard___last_update
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line___last_update
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line___last_update
msgid "Last Modified on"
msgstr "Última modificación en"
msgstr "Última Modificación en"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard__write_uid
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line__write_uid
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line__write_uid
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line_write_uid
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line_write_uid
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard__write_date
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line__write_date
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line__write_date
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line_write_date
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line_write_date
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_write_date
msgid "Last Updated on"
msgstr "Última actualización el"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard__new_line_ids
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line_ids
msgid "New Payment Lines"
msgstr "Nuevas líneas de pago"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard__old_line_ids
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line_ids
msgid "Old Payment Lines"
msgstr "Viejas líneas de pago"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard__order_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_order_id
msgid "Order"
msgstr "Orden"
msgstr "Pedido"

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_config__payment_change_policy
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_config_payment_change_policy
msgid "Payment Change Policy"
msgstr "Política de cambio de pago"

#. module: pos_payment_change
#: model:ir.model.fields,help:pos_payment_change.field_pos_config__payment_change_policy
msgid ""
"Payment Change Policy when users want to change the payment lines of a given "
"PoS Order.\n"
"* 'Refund and Resale': Odoo will refund the current Pos Order to cancel it, "
"and create a new PoS Order with the correct payment lines.\n"
#: model:ir.model.fields,help:pos_payment_change.field_pos_config_payment_change_policy
msgid "Payment Change Policy when users want to change the payment lines of a given PoS Order.\n"
"* 'Refund and Resale': Odoo will refund the current Pos Order to cancel it, and create a new PoS Order with the correct payment lines.\n"
"* 'Update Payments': Odoo will change payment lines.\n"
"\n"
"Note : In some countries the 'Update Payments' Option is not allowed by law, "
"because orders history shouldn't not be altered."
msgstr ""
"Política de cambio de pago cuando los usuarios desean cambiar las líneas de "
"pago de un pedido PdV determinado.\n"
"* 'Reembolso y reventa': Odoo reembolsará el pedido de posición actual para "
"cancelarlo y creará un nuevo pedido de PoS con las líneas de pago "
"correctas.\n"
"Note : In some countries the 'Update Payments' Option is not allowed by law, because orders history shouldn't not be altered."
msgstr "Política de cambio de pago cuando los usuarios desean cambiar las líneas de pago de un pedido PdV determinado.\n"
"* 'Reembolso y reventa': Odoo reembolsará el pedido de posición actual para cancelarlo y creará un nuevo pedido de PoS con las líneas de pago correctas.\n"
"* 'Actualizar pagos': Odoo cambiará las líneas de pago.\n"
"\n"
"Nota: En algunos países, la opción 'Actualizar pagos' no está permitida por "
Expand All @@ -181,15 +170,10 @@ msgstr "Asistente de cambio de pago de una nueva línea del PdV"
msgid "PoS Payment Change Wizard Old Line"
msgstr "Asistente de cambio de pago de una línea antigua del PdV"

#. module: pos_payment_change
#: model:ir.model,name:pos_payment_change.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Configuración del punto de venta"

#. module: pos_payment_change
#: model:ir.model,name:pos_payment_change.model_pos_order
msgid "Point of Sale Orders"
msgstr "Pedidos de Punto de Venta"
msgstr "Pedidos del Punto de Venta"

#. module: pos_payment_change
#: selection:pos.config,payment_change_policy:0
Expand All @@ -203,44 +187,42 @@ msgid "The payments of the Order %s (Ref: %s) has been changed by %s at %s."
msgstr "Los pagos de la orden %s (Ref: %s) han sido modificados por %s en %s."

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard__amount_total
#: model_terms:ir.ui.view,arch_db:pos_payment_change.view_pos_payment_change_wizard_form
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_amount_total
#: model:ir.ui.view,arch_db:pos_payment_change.view_pos_payment_change_wizard_form
msgid "Total"
msgstr "Total"

#. module: pos_payment_change
#: code:addons/pos_payment_change/models/pos_config.py:43
#, python-format
msgid ""
"Unable to use the 'Update Payments' options for companies that have "
"unalterable accounting."
msgstr ""
"No se pueden usar las opciones de 'Actualizar pagos' para empresas que "
"tienen contabilidad inalterable."
msgid "Unable to use the 'Update Payments' options for companies that have unalterable accounting."
msgstr "No se pueden usar las opciones de 'Actualizar pagos' para empresas que tienen contabilidad inalterable."

#. module: pos_payment_change
#: selection:pos.config,payment_change_policy:0
msgid "Update Payments"
msgstr "Actualizar pagos"

#. module: pos_payment_change
#: model:ir.model.fields,help:pos_payment_change.field_pos_payment_change_wizard_new_line__company_currency_id
#: model:ir.model.fields,help:pos_payment_change.field_pos_payment_change_wizard_old_line__company_currency_id
#: model:ir.model.fields,help:pos_payment_change.field_pos_payment_change_wizard_new_line_company_currency_id
#: model:ir.model.fields,help:pos_payment_change.field_pos_payment_change_wizard_old_line_company_currency_id
msgid "Utility field to express amount currency"
msgstr "Campo de utilidad para expresar la cantidad de la moneda"
msgstr "Campo útil para expresar importe en moneda."

#. module: pos_payment_change
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line__wizard_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line__wizard_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_new_line_wizard_id
#: model:ir.model.fields,field_description:pos_payment_change.field_pos_payment_change_wizard_old_line_wizard_id
msgid "Wizard"
msgstr "Asistente"

#. module: pos_payment_change
#: code:addons/pos_payment_change/models/pos_order.py:102
#, python-format
msgid ""
"You can not change payments of the POS '%s' because the associated session "
"'%s' has been closed!"
msgstr ""
"¡No puede cambiar los pagos del PdV '%s' porque la sesión asociada '%s' se "
"ha cerrado!"
msgid "You can not change payments of the POS '%s' because the associated session '%s' has been closed!"
msgstr "¡No puede cambiar los pagos del PdV '%s' porque la sesión asociada '%s' se ha cerrado!"

#. module: pos_payment_change
#: model:ir.model,name:pos_payment_change.model_pos_config
msgid "pos.config"
msgstr "pos.config"

Loading

0 comments on commit f85481c

Please sign in to comment.