From fb8b2fd9e074f6ce57cd5151f377984eab397db7 Mon Sep 17 00:00:00 2001 From: luis Date: Tue, 11 Mar 2025 17:25:26 +0100 Subject: [PATCH] product_print_category_supermarket: option to show barcode in labels --- .../static/css/pricetag_60x30mm.scss | 8 ++++++++ .../views/report_pricetag_normal.xml | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/product_print_category_supermarket/static/css/pricetag_60x30mm.scss b/product_print_category_supermarket/static/css/pricetag_60x30mm.scss index e39ad3d..8147ce3 100644 --- a/product_print_category_supermarket/static/css/pricetag_60x30mm.scss +++ b/product_print_category_supermarket/static/css/pricetag_60x30mm.scss @@ -93,3 +93,11 @@ text-align: left; padding-right: 0.2cm; } + +.product_barcode{ + font-size: 0.5em; + position: absolute; + bottom: 0.5mm; + left: 0.5mm; + text-align: left; +} diff --git a/product_print_category_supermarket/views/report_pricetag_normal.xml b/product_print_category_supermarket/views/report_pricetag_normal.xml index bef20dc..832538f 100644 --- a/product_print_category_supermarket/views/report_pricetag_normal.xml +++ b/product_print_category_supermarket/views/report_pricetag_normal.xml @@ -83,6 +83,11 @@ t-options='{"widget": "float", "precision": 2}' /> €/Kg. + +
+ +
+