Skip to content

Commit

Permalink
[IMP] barcodes_gs1_label: create label report
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankC013 committed Jan 15, 2024
1 parent b26cdfb commit d3ea0ec
Show file tree
Hide file tree
Showing 9 changed files with 362 additions and 207 deletions.
2 changes: 2 additions & 0 deletions barcodes_gs1_label/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# Frank Cespedes <fcespedes@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
Expand All @@ -24,6 +25,7 @@
"views/product_views.xml",
"views/stock_production_lot_views.xml",
"views/stock_picking_views.xml",
"views/option_config_views.xml",
],
"installable": True,
"development_status": "Beta",
Expand Down
132 changes: 61 additions & 71 deletions barcodes_gs1_label/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-13 12:07+0000\n"
"PO-Revision-Date: 2022-07-13 12:07+0000\n"
"POT-Creation-Date: 2024-01-15 17:52+0000\n"
"PO-Revision-Date: 2024-01-15 17:52+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
Expand All @@ -16,23 +16,16 @@ msgstr ""
"Plural-Forms: \n"

#. module: barcodes_gs1_label
#: model:ir.actions.report,print_report_name:barcodes_gs1_label.action_report_product_gs1_barcodes
msgid "'Barcodes - %s' % (object.default_code, )"
msgstr ""

#. module: barcodes_gs1_label
#: model:ir.actions.report,print_report_name:barcodes_gs1_label.action_report_inv_line_gs1_barcodes
#: model:ir.actions.report,print_report_name:barcodes_gs1_label.action_report_lot_gs1_barcodes
#: model:ir.actions.report,print_report_name:barcodes_gs1_label.action_report_picking_gs1_barcodes
#: model:ir.actions.report,print_report_name:barcodes_gs1_label.action_report_quant_gs1_barcodes
msgid "'Barcodes - %s' % (object.name, )"
msgstr ""

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__barcode_type
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__barcode_type
msgid "Barcode type"
msgstr "Tipo de código de barras"

#. module: barcodes_gs1_label
#: model:ir.ui.menu,name:barcodes_gs1_label.menu_barcodes_gs1_label_options_config
msgid "Barcodes Options Config."
msgstr "Config. de opciones de códigos de barras"

#. module: barcodes_gs1_label
#: model:ir.model,name:barcodes_gs1_label.model_barcodes_gs1_label_options_wizard
msgid "Barcodes GS1 Print Options Wizard"
Expand All @@ -59,16 +52,19 @@ msgid "Copies"
msgstr "Copias"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__create_uid
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__create_date
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__create_date
msgid "Created on"
msgstr "Creado el"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__display_name
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__display_name
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_product_product__display_name
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_report_barcodes_gs1_label_report_gs1_barcode__display_name
Expand All @@ -79,38 +75,19 @@ msgstr "Creado el"
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: barcodes_gs1_label
#: model:ir.model.fields.selection,name:barcodes_gs1_label.selection__barcodes_gs1_label_options_wizard__barcode_type__ean13
msgid "EAN13"
msgstr ""

#. module: barcodes_gs1_label
#: model:ir.model.fields.selection,name:barcodes_gs1_label.selection__barcodes_gs1_label_options_wizard__barcode_type__ean13-code128
msgid "EAN13 + Code128"
msgstr ""

#. module: barcodes_gs1_label
#: code:addons/barcodes_gs1_label/report/report_barcode_gs1.py:0
#, python-format
msgid "Expected data to be passed to the report"
msgstr ""

#. module: barcodes_gs1_label
#: model:ir.model.fields.selection,name:barcodes_gs1_label.selection__barcodes_gs1_label_options_wizard__barcode_type__gs1-128
msgid "GS1-128"
msgstr ""

#. module: barcodes_gs1_label
#: model:ir.model.fields.selection,name:barcodes_gs1_label.selection__barcodes_gs1_label_options_wizard__barcode_type__gs1-datamatrix
msgid "GS1-Datamatrix"
msgstr ""
msgstr "Se esperaba que se pasaran datos al informe"

#. module: barcodes_gs1_label
#: model_terms:ir.ui.view,arch_db:barcodes_gs1_label.barcodes_option_wizard_view
msgid "General"
msgstr ""

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__id
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__id
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_product_product__id
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_report_barcodes_gs1_label_report_gs1_barcode__id
Expand All @@ -124,19 +101,32 @@ msgstr ""
#. module: barcodes_gs1_label
#: model:ir.model,name:barcodes_gs1_label.model_stock_inventory_line
msgid "Inventory Line"
msgstr "Línea de inventario"
msgstr "Línea inventario"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__label_height
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__name
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__label_config_id
msgid "Label Config"
msgstr "Configuración de etiquetas"

#. module: barcodes_gs1_label
#: model:ir.actions.act_window,name:barcodes_gs1_label.barcodes_gs1_label_options_action
#: model:ir.ui.menu,name:barcodes_gs1_label.barcodes_gs1_label_options_menu
msgid "Label Configuration"
msgstr "Configuración de etiquetas"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__label_height
msgid "Label height (mm)"
msgstr "Alto etiqueta (mm)"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__label_width
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__label_width
msgid "Label width (mm)"
msgstr "Ancho etiqueta (mm)"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config____last_update
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard____last_update
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_product_product____last_update
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_report_barcodes_gs1_label_report_gs1_barcode____last_update
Expand All @@ -148,11 +138,13 @@ msgid "Last Modified on"
msgstr "Última modificación en"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__write_uid
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__write_date
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__write_date
msgid "Last Updated on"
msgstr "Última actualización el"
Expand All @@ -162,39 +154,39 @@ msgstr "Última actualización el"
msgid "Locations"
msgstr "Ubicaciones"

#. module: barcodes_gs1_label
#: model_terms:ir.ui.view,arch_db:barcodes_gs1_label.layout_ean13
#: model_terms:ir.ui.view,arch_db:barcodes_gs1_label.layout_ean13code1281
msgid "Logo"
msgstr ""

#. module: barcodes_gs1_label
#: model:ir.model,name:barcodes_gs1_label.model_stock_production_lot
msgid "Lot/Serial"
msgstr "Lote/ de serie"
msgstr "Lote/Número de serie"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__page_cols_max
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__page_cols_max
msgid "Max columns per page"
msgstr "Max. columnas por página"
msgstr "Columnas máximas por página"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__page_max_labels
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__page_max_labels
msgid "Max labels per page"
msgstr "Max. etiquetas por página"
msgstr "Etiquetas máximas por página"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__page_rows_max
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__page_rows_max
msgid "Max rows per page"
msgstr "Max. filas por página"
msgstr "Filas máximas por página"

#. module: barcodes_gs1_label
#: model_terms:ir.ui.view,arch_db:barcodes_gs1_label.barcodes_option_wizard_view
msgid "Ok"
msgstr "Aceptar"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__paperformat_id
#: code:addons/barcodes_gs1_label/models/option_config.py:0
#, python-format
msgid "Only one label configuration can be set as default"
msgstr "Solo se puede establecer una configuración de etiqueta como predeterminada"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__paperformat_id
msgid "Paper format"
msgstr "Formato de papel"

Expand Down Expand Up @@ -228,20 +220,20 @@ msgstr "Producto"
#. module: barcodes_gs1_label
#: model:ir.model,name:barcodes_gs1_label.model_stock_quant
msgid "Quants"
msgstr ""
msgstr "Cantidades"

#. module: barcodes_gs1_label
#: model:ir.model,name:barcodes_gs1_label.model_report_barcodes_gs1_label_report_gs1_barcode
msgid "Report GS1 Barcode"
msgstr ""
msgstr "Informe de Código de Barras GS1"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__sheet_height
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__sheet_height
msgid "Sheet height (mm)"
msgstr "Alto página (mm)"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__sheet_width
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__sheet_width
msgid "Sheet width (mm)"
msgstr "Ancho página (mm)"

Expand Down Expand Up @@ -269,7 +261,7 @@ msgstr "Columna inicial"
#: code:addons/barcodes_gs1_label/wizard/options_wizard.py:0
#, python-format
msgid "Start column should be between %i and %i"
msgstr ""
msgstr "La columna inicial debe estar entre %i y %i."

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__start_row
Expand All @@ -280,19 +272,19 @@ msgstr "Fila inicial"
#: code:addons/barcodes_gs1_label/wizard/options_wizard.py:0
#, python-format
msgid "Start row should be between %i and %i"
msgstr ""
msgstr "La fila inicial debe estar entre %i y %i."

#. module: barcodes_gs1_label
#: code:addons/barcodes_gs1_label/wizard/options_wizard.py:0
#, python-format
msgid "The number of copies must be greater than 0"
msgstr ""
msgstr "El número de copias debe ser mayor que 0."

#. module: barcodes_gs1_label
#: code:addons/barcodes_gs1_label/wizard/options_wizard.py:0
#: code:addons/barcodes_gs1_label/models/option_config.py:0
#, python-format
msgid "The paperformat '%s' has no format defined"
msgstr ""
msgstr "El formato de papel '%s' no tiene un formato definido"

#. module: barcodes_gs1_label
#: model:ir.model,name:barcodes_gs1_label.model_stock_picking
Expand All @@ -301,27 +293,25 @@ msgstr "Albarán"

#. module: barcodes_gs1_label
#: code:addons/barcodes_gs1_label/report/report_barcode_gs1.py:0
#: code:addons/barcodes_gs1_label/wizard/options_wizard.py:0
#, python-format
msgid "Unexpected model '%s'"
msgstr ""
msgid "Unknown barcode type %s"
msgstr "Tipo de código de barras desconocido %s"

#. module: barcodes_gs1_label
#: code:addons/barcodes_gs1_label/report/report_barcode_gs1.py:0
#, python-format
msgid "Unknown barcode type %s"
msgstr ""
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_config__use_default_label
msgid "Use Default Label"
msgstr "Usar etiqueta por defecto"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__with_stock
msgid "With stock only"
msgstr "Solo con stock"

#. module: barcodes_gs1_label
#: code:addons/barcodes_gs1_label/wizard/options_wizard.py:0
#: code:addons/barcodes_gs1_label/models/option_config.py:0
#, python-format
msgid "Wrong paperformat definition '%s', cannot extract sheet sizes from it"
msgstr ""
msgstr "Definición de formato de papel '%s' incorrecta, no se pueden extraer los tamaños de página de ella"

#. module: barcodes_gs1_label
#: model:ir.model.fields,field_description:barcodes_gs1_label.field_barcodes_gs1_label_options_wizard__px_mm_rate_correction
Expand Down
1 change: 1 addition & 0 deletions barcodes_gs1_label/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
from . import stock_picking
from . import stock_production_lot
from . import stock_quant
from . import option_config
Loading

0 comments on commit d3ea0ec

Please sign in to comment.