From d33ff7d77231b2af38d481c74aa429bcbf84c02b Mon Sep 17 00:00:00 2001 From: luis Date: Mon, 24 Feb 2025 17:59:53 +0100 Subject: [PATCH] #84 product_print_category_supermarket: option to show product ref --- product_print_category_supermarket/__manifest__.py | 1 + product_print_category_supermarket/models/__init__.py | 1 + .../static/css/pricetag_60x30mm.scss | 8 ++++---- .../views/report_pricetag_normal.xml | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/product_print_category_supermarket/__manifest__.py b/product_print_category_supermarket/__manifest__.py index d927a72..840dc06 100644 --- a/product_print_category_supermarket/__manifest__.py +++ b/product_print_category_supermarket/__manifest__.py @@ -17,6 +17,7 @@ ], "data": [ "views/report_pricetag_normal.xml", + "views/product_print_category.xml", "views/product_template_tag.xml", "views/product_template.xml", "views/res_config.xml", diff --git a/product_print_category_supermarket/models/__init__.py b/product_print_category_supermarket/models/__init__.py index 4ac41a2..f190378 100644 --- a/product_print_category_supermarket/models/__init__.py +++ b/product_print_category_supermarket/models/__init__.py @@ -1,3 +1,4 @@ +from . import product_print_category from . import product_template from . import product_template_tag from . import res_config diff --git a/product_print_category_supermarket/static/css/pricetag_60x30mm.scss b/product_print_category_supermarket/static/css/pricetag_60x30mm.scss index f821fe4..e39ad3d 100644 --- a/product_print_category_supermarket/static/css/pricetag_60x30mm.scss +++ b/product_print_category_supermarket/static/css/pricetag_60x30mm.scss @@ -21,10 +21,10 @@ } .product_code { - font-size: 0.8em; + font-size: 0.7em; position: absolute; - margin-top: 1.2cm; - margin-left: 5.3cm; + margin-top: 0.8cm; + margin-left: 4.8cm; text-align: left; } @@ -32,7 +32,7 @@ font-size: 0.7em; position: absolute; margin-top: 1.2cm; - right: 0.3cm; + right: 0.1cm; text-align: right; } diff --git a/product_print_category_supermarket/views/report_pricetag_normal.xml b/product_print_category_supermarket/views/report_pricetag_normal.xml index cfc8182..83c157f 100644 --- a/product_print_category_supermarket/views/report_pricetag_normal.xml +++ b/product_print_category_supermarket/views/report_pricetag_normal.xml @@ -8,11 +8,11 @@
- +