diff --git a/product_library/i18n/es.po b/product_library/i18n/es.po deleted file mode 100644 index 7c60aed..0000000 --- a/product_library/i18n/es.po +++ /dev/null @@ -1,49 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * pos_default_empty_image -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2020-10-26 11:08+0000\n" -"Last-Translator: Daniel Martinez Vila \n" -"Language-Team: none\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" - -#. module: pos_default_empty_image -#: model:ir.model.fields,field_description:pos_default_empty_image.field_pos_config__iface_fixed_font_size -#: model_terms:ir.ui.view,arch_db:pos_default_empty_image.pos_config_view_form -msgid "Fixed Font Size" -msgstr "Tamaño de fuente fijo" - -#. module: pos_default_empty_image -#: model:ir.model.fields,help:pos_default_empty_image.field_pos_config__iface_fixed_font_size -#: model_terms:ir.ui.view,arch_db:pos_default_empty_image.pos_config_view_form -msgid "" -"Font size of the product name, when it has no image. Set '0' will set " -"adaptative font-size, depending on the length of the name." -msgstr "" -"Tamaño de fuente del nombre del producto, cuando no tiene imagen. Establecer " -"'0' establecerá un tamaño de fuente adaptativo, dependiendo de la longitud " -"del nombre." - -#. module: pos_default_empty_image -#: model:ir.model.fields,field_description:pos_default_empty_image.field_product_product__has_image -msgid "Has Image" -msgstr "Tiene imagen" - -#. module: pos_default_empty_image -#: model:ir.model,name:pos_default_empty_image.model_pos_config -msgid "Point of Sale Configuration" -msgstr "Configuración del punto de venta" - -#. module: pos_default_empty_image -#: model:ir.model,name:pos_default_empty_image.model_product_product -msgid "Product" -msgstr "Producto" diff --git a/product_library/i18n/produc_library.pot b/product_library/i18n/produc_library.pot deleted file mode 100644 index f81e6c5..0000000 --- a/product_library/i18n/produc_library.pot +++ /dev/null @@ -1,42 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_library -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \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: \n" - -#. module: pos_default_empty_image -#: model:ir.model.fields,field_description:pos_default_empty_image.field_pos_config__iface_fixed_font_size -#: model_terms:ir.ui.view,arch_db:pos_default_empty_image.pos_config_view_form -msgid "Fixed Font Size" -msgstr "" - -#. module: pos_default_empty_image -#: model:ir.model.fields,help:pos_default_empty_image.field_pos_config__iface_fixed_font_size -#: model_terms:ir.ui.view,arch_db:pos_default_empty_image.pos_config_view_form -msgid "Font size of the product name, when it has no image. Set '0' will set adaptative font-size, depending on the length of the name." -msgstr "" - -#. module: pos_default_empty_image -#: model:ir.model.fields,field_description:pos_default_empty_image.field_product_product__has_image -msgid "Has Image" -msgstr "" - -#. module: pos_default_empty_image -#: model:ir.model,name:pos_default_empty_image.model_pos_config -msgid "Point of Sale Configuration" -msgstr "" - -#. module: pos_default_empty_image -#: model:ir.model,name:pos_default_empty_image.model_product_product -msgid "Product" -msgstr "" - diff --git a/product_library/models/__init__.py b/product_library/models/__init__.py index 29f251b..563faa7 100644 --- a/product_library/models/__init__.py +++ b/product_library/models/__init__.py @@ -1,5 +1,5 @@ from . import pos_config from . import product_template -from . import product_product +#from . import product_product diff --git a/product_library/static/src/js/models.js b/product_library/static/src/js/models.js index d6f7d7b..fea2671 100644 --- a/product_library/static/src/js/models.js +++ b/product_library/static/src/js/models.js @@ -7,7 +7,7 @@ odoo.define('product_library.product_library', function (require) { //var gui = require('point_of_sale.gui'); //var _t = core._t; - models.load_fields("product.product", ['has_image']); + //models.load_fields("product.product", ['has_image']); /* ******************************************************** Overload models.PosModel diff --git a/product_library/static/src/xml/pos.xml b/product_library/static/src/xml/pos.xml index 1203191..f6e8b3b 100644 --- a/product_library/static/src/xml/pos.xml +++ b/product_library/static/src/xml/pos.xml @@ -25,7 +25,7 @@ - + diff --git a/product_library/views/templates.xml b/product_library/views/templates.xml index 3d44656..2346930 100644 --- a/product_library/views/templates.xml +++ b/product_library/views/templates.xml @@ -5,7 +5,7 @@ +