From 920ad818969f8c1bc4ccb66e16d78481bc70ee6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Kawala?= Date: Wed, 29 Jan 2020 08:28:23 +0100 Subject: [PATCH] Correct model naming. --- pos_barcode_tare/models/pos_config.py | 2 +- pos_barcode_tare/static/src/xml/pos_barcode_tare.xml | 2 +- pos_barcode_tare/views/pos_config_view.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pos_barcode_tare/models/pos_config.py b/pos_barcode_tare/models/pos_config.py index e5ea2698..c6756101 100644 --- a/pos_barcode_tare/models/pos_config.py +++ b/pos_barcode_tare/models/pos_config.py @@ -5,7 +5,7 @@ from openerp import models, fields class PosConfig(models.Model): _inherit = 'pos.config' - tare_label_button = fields.Boolean( + iface_tare_label = fields.Boolean( 'Show tare label button', help="Print tare labels with this POS" ) diff --git a/pos_barcode_tare/static/src/xml/pos_barcode_tare.xml b/pos_barcode_tare/static/src/xml/pos_barcode_tare.xml index 29a0c89c..5d24eb47 100644 --- a/pos_barcode_tare/static/src/xml/pos_barcode_tare.xml +++ b/pos_barcode_tare/static/src/xml/pos_barcode_tare.xml @@ -36,7 +36,7 @@ - + Print a tare label diff --git a/pos_barcode_tare/views/pos_config_view.xml b/pos_barcode_tare/views/pos_config_view.xml index 22f59bad..ffce7377 100644 --- a/pos_barcode_tare/views/pos_config_view.xml +++ b/pos_barcode_tare/views/pos_config_view.xml @@ -8,7 +8,7 @@ - +