Skip to content

Commit

Permalink
[MIG] l10n_es_pos: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danielduqma committed Nov 29, 2022
1 parent ad7f5f4 commit d238117
Show file tree
Hide file tree
Showing 17 changed files with 336 additions and 306 deletions.
1 change: 1 addition & 0 deletions l10n_es_pos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

from . import models
from .hooks import post_init_hook, uninstall_hook
from . import wizard
8 changes: 3 additions & 5 deletions l10n_es_pos/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-spain",
"license": "AGPL-3",
"version": "15.0.1.0.0",
"version": "16.0.1.0.0",
"depends": ["point_of_sale"],
"data": ["views/pos_views.xml"],
"data": ["views/pos_views.xml", "views/res_config_settings_views.xml"],
"assets": {
"web.assets_qweb": [
"point_of_sale.assets": [
"l10n_es_pos/static/src/xml/pos.xml",
"l10n_es_pos/static/src/xml/Screens/OrderManagementScreen/TicketScreen.xml",
],
"point_of_sale.assets": [
"l10n_es_pos/static/src/js/PaymentScreen.js",
"l10n_es_pos/static/src/js/models.js",
"l10n_es_pos/static/src/js/Screens/TicketScreen/TicketScreen.js",
Expand Down
120 changes: 34 additions & 86 deletions l10n_es_pos/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,77 +4,53 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-12 14:13+0000\n"
"PO-Revision-Date: 2020-07-27 09:19+0000\n"
"Last-Translator: Daniel Martinez Vila <[email protected]>\n"
"POT-Creation-Date: 2022-11-21 10:09+0000\n"
"PO-Revision-Date: 2022-11-21 10:09+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es\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: l10n_es_pos
#. openerp-web
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:0
#, python-format
msgid ""
"!env.pos.config.iface_l10n_es_simplified_invoice or receipt.is_to_invoice"
msgstr ""

#. module: l10n_es_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.res_config_settings_view_form
msgid "Above this limit the simplified invoice won't be made"
msgstr "Por encima de este límite no se creará factura simplificada"

#. module: l10n_es_pos
#: model:ir.model.fields,help:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_sequence_id
#: model:ir.model.fields,help:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_sequence_id
msgid "Autogenerate for each POS created"
msgstr "Autogenerada por cada TPV creado"

#. module: l10n_es_pos
#: model:ir.model,name:l10n_es_pos.model_res_config_settings
msgid "Config Settings"
msgstr "Opciones de configuración"

#. module: l10n_es_pos
#. openerp-web
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:0
#, python-format
msgid "Customer:"
msgstr "Cliente:"

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_ir_sequence__display_name
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__display_name
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_order__display_name
msgid "Display Name"
msgstr ""

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_ir_sequence__id
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__id
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_order__id
msgid "ID"
msgstr ""

#. module: l10n_es_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.res_config_settings_view_form
msgid "Invoice Journal"
msgstr "Diario de facturas"
msgstr ""

#. module: l10n_es_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.view_pos_order_filter_simplified_invoice
msgid "Invoices"
msgstr "Diario de facturas"

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_ir_sequence____last_update
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config____last_update
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_order____last_update
msgid "Last Modified on"
msgstr ""

#. module: l10n_es_pos
#: model:ir.model.fields,help:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_limit
#: model:ir.model.fields,help:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_limit
msgid "Over this amount is not legally posible to create a simplified invoice"
msgstr "Por encima de esta cantidad no es legal crear una factura simplificada"

Expand All @@ -88,61 +64,74 @@ msgstr "Configuración Punto de Venta"
msgid "Point of Sale Orders"
msgstr "Pedidos del Punto de Venta"

#. module: l10n_es_pos
#: model:ir.model,name:l10n_es_pos.model_pos_session
msgid "Point of Sale Session"
msgstr "Sesión TPV"

#. module: l10n_es_pos
#: model:ir.model,name:l10n_es_pos.model_ir_sequence
msgid "Sequence"
msgstr "Secuencia"

#. module: l10n_es_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.res_config_settings_view_form
msgid "Set simplified invoice sequence for this POS"
msgstr "Establecer secuencia de factura simplificada para este TPV"

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_limit
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_limit
msgid "Sim.Inv limit amount"
msgstr "Límite de factura simplificada"

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_number
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_number
msgid "Sim.Inv number"
msgstr "Número de factura simplificada"

#. module: l10n_es_pos
#. openerp-web
#: code:addons/l10n_es_pos/static/src/xml/Screens/OrderManagementScreen/OrderList.xml:0
#: code:addons/l10n_es_pos/static/src/js/Screens/TicketScreen/TicketScreen.js:0
#: code:addons/l10n_es_pos/static/src/xml/Screens/OrderManagementScreen/TicketScreen.xml:0
#: code:addons/l10n_es_pos/static/src/xml/Screens/OrderManagementScreen/TicketScreen.xml:0
#, python-format
msgid "Simplified Invoice"
msgstr ""

#. module: l10n_es_pos
#: code:addons/l10n_es_pos/models/pos_config.py:0
#: code:addons/l10n_es_pos/models/pos_config.py:0
#, python-format
msgid "Simplified Invoice %s"
msgstr "Factura simplificada %s"

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_sequence_id
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_sequence_id
msgid "Simplified Invoice IDs Sequence"
msgstr "Secuencia de Factura Simplificada"

#. module: l10n_es_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.res_config_settings_view_form
msgid "Simplified Invoice Limit"
msgstr "Límite de Factura Simplificada"

#. module: l10n_es_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.res_config_settings_view_form
msgid "Simplified Invoice Sequence"
msgstr "Secuencia de Factura Simplificada"

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_padding
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_padding
msgid "Simplified Invoice padding"
msgstr "Relleno de Factura Simplificada"

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_prefix
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_prefix
msgid "Simplified Invoice prefix"
msgstr "Prefijo de Factura Simplificada"

Expand Down Expand Up @@ -176,55 +165,14 @@ msgstr ""

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__iface_l10n_es_simplified_invoice
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_iface_l10n_es_simplified_invoice
msgid "Use simplified invoices for this POS"
msgstr "Usar Facturas Simplificadas en este Punto de Venta"

#. module: l10n_es_pos
#. openerp-web
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:0
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:0
#, python-format
msgid "on"
msgstr "sobre"

#~ msgid "Unique Order ID"
#~ msgstr "ID único de pedido"

#~ msgid "VAT:"
#~ msgstr "NIF:"

#~ msgid "Address:"
#~ msgstr "Dirección:"

#~ msgid "Customer data"
#~ msgstr "Datos de cliente"

#~ msgid "Name:"
#~ msgstr "Nombre:"

#~ msgid "Product"
#~ msgstr "Producto"

#~ msgid "Qty"
#~ msgstr "Cantidad"

#~ msgid "Simplified invoice:"
#~ msgstr "Factura Simplificada:"

#~ msgid "Subt"
#~ msgstr "Subt"

#~ msgid "Unit"
#~ msgstr "Ud."

#~ msgid ""
#~ "The current order is already queued and thus it shouldn't be changed. "
#~ "Click on 'Validate' in order to finalize it."
#~ msgstr ""
#~ "Este pedido ya está en cola, de modo que no debería modificarse. Pulsa en "
#~ "'Validar' para finalizarlo."

#~ msgid "The order is already queued"
#~ msgstr "El pedido ya está en cola"

#~ msgid "pos.config"
#~ msgstr "pos.config"
41 changes: 27 additions & 14 deletions l10n_es_pos/i18n/l10n_es_pos.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-21 10:06+0000\n"
"PO-Revision-Date: 2022-11-21 10:06+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
Expand All @@ -14,23 +16,21 @@ msgstr ""
"Plural-Forms: \n"

#. module: l10n_es_pos
#. openerp-web
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:0
#, python-format
msgid ""
"!env.pos.config.iface_l10n_es_simplified_invoice or receipt.is_to_invoice"
msgstr ""

#. module: l10n_es_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.res_config_settings_view_form
msgid "Above this limit the simplified invoice won't be made"
msgstr ""

#. module: l10n_es_pos
#: model:ir.model.fields,help:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_sequence_id
#: model:ir.model.fields,help:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_sequence_id
msgid "Autogenerate for each POS created"
msgstr ""

#. module: l10n_es_pos
#: model:ir.model,name:l10n_es_pos.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: l10n_es_pos
#. openerp-web
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:0
Expand All @@ -39,7 +39,7 @@ msgid "Customer:"
msgstr ""

#. module: l10n_es_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.res_config_settings_view_form
msgid "Invoice Journal"
msgstr ""

Expand All @@ -50,6 +50,7 @@ msgstr ""

#. module: l10n_es_pos
#: model:ir.model.fields,help:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_limit
#: model:ir.model.fields,help:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_limit
msgid "Over this amount is not legally posible to create a simplified invoice"
msgstr ""

Expand All @@ -63,23 +64,30 @@ msgstr ""
msgid "Point of Sale Orders"
msgstr ""

#. module: l10n_es_pos
#: model:ir.model,name:l10n_es_pos.model_pos_session
msgid "Point of Sale Session"
msgstr ""

#. module: l10n_es_pos
#: model:ir.model,name:l10n_es_pos.model_ir_sequence
msgid "Sequence"
msgstr ""

#. module: l10n_es_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.res_config_settings_view_form
msgid "Set simplified invoice sequence for this POS"
msgstr ""

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_limit
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_limit
msgid "Sim.Inv limit amount"
msgstr ""

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_number
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_number
msgid "Sim.Inv number"
msgstr ""

Expand All @@ -101,26 +109,29 @@ msgstr ""

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_sequence_id
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_sequence_id
msgid "Simplified Invoice IDs Sequence"
msgstr ""

#. module: l10n_es_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.res_config_settings_view_form
msgid "Simplified Invoice Limit"
msgstr ""

#. module: l10n_es_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
#: model_terms:ir.ui.view,arch_db:l10n_es_pos.res_config_settings_view_form
msgid "Simplified Invoice Sequence"
msgstr ""

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_padding
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_padding
msgid "Simplified Invoice padding"
msgstr ""

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__l10n_es_simplified_invoice_prefix
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_l10n_es_simplified_invoice_prefix
msgid "Simplified Invoice prefix"
msgstr ""

Expand Down Expand Up @@ -152,12 +163,14 @@ msgstr ""

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config__iface_l10n_es_simplified_invoice
#: model:ir.model.fields,field_description:l10n_es_pos.field_res_config_settings__pos_iface_l10n_es_simplified_invoice
msgid "Use simplified invoices for this POS"
msgstr ""

#. module: l10n_es_pos
#. openerp-web
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:0
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:0
#, python-format
msgid "on"
msgstr ""
1 change: 1 addition & 0 deletions l10n_es_pos/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import ir_sequence
from . import pos_config
from . import pos_order
from . import pos_session
Loading

0 comments on commit d238117

Please sign in to comment.