@@ -31,10 +32,11 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
- Internal code:
- Origine :
+ Internal code: []
+
+
Origin:
- Producteur·rice :
+ Producteur·rice :
@@ -76,14 +78,14 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
- Volume
L
- Poids net
kg
+ Volume
L
+ Poids net
kg
- €
+ €
diff --git a/grap_qweb_report/report/qweb_pricetag_square_large.xml b/grap_qweb_report/report/qweb_pricetag_square_large.xml
index 73a1d13b..80022c9a 100644
--- a/grap_qweb_report/report/qweb_pricetag_square_large.xml
+++ b/grap_qweb_report/report/qweb_pricetag_square_large.xml
@@ -12,6 +12,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
@@ -19,7 +20,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-
+
@@ -41,7 +42,11 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
Printed
- - Code:
+ - Code:
+
+
+
+ Barcode:
@@ -52,14 +57,14 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-
+
- €le litre
@@ -74,7 +79,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
:
- €
+ €
@@ -83,7 +88,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
@@ -97,11 +102,11 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
- Origine :
+ Origine :
- Ingrédients
+ Ingrédients
diff --git a/grap_qweb_report/report/qweb_pricetag_square_small.xml b/grap_qweb_report/report/qweb_pricetag_square_small.xml
index 42be46ed..daf1fac6 100644
--- a/grap_qweb_report/report/qweb_pricetag_square_small.xml
+++ b/grap_qweb_report/report/qweb_pricetag_square_small.xml
@@ -12,6 +12,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
@@ -19,7 +20,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-
+
@@ -59,32 +60,40 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
€
-
le kilo
-
la pièce
+
+ le kilo
+ la pièce
+
-
-
-
- :
- €
-
-
-
-
-
-
+
+
+
+ :
+ €
+
+
+
-
-
-
-
-
-
-
+
+
+ []
+
+
+
+
+
+
+
diff --git a/grap_qweb_report/static/css/pricetag_normal_large.scss b/grap_qweb_report/static/css/pricetag_normal_large.scss
index 09f27d6a..68ae7c94 100644
--- a/grap_qweb_report/static/css/pricetag_normal_large.scss
+++ b/grap_qweb_report/static/css/pricetag_normal_large.scss
@@ -3,10 +3,10 @@
padding: 0.8cm 5px;
.pricetag_left {
- width : 5.8cm;
+ width : 5.5cm;
}
.pricetag_right {
- width : 3.05cm;
+ width : 3.1cm;
height: 3.6cm;
padding-top: 30px;
}
@@ -20,7 +20,7 @@
font-size: 13px;
}
.product_price {
- font-size: 30px;
+ font-size: 29px;
height: 1cm; line-height: 1cm;
white-space: nowrap;
}
diff --git a/grap_qweb_report/static/css/pricetag_square_large.scss b/grap_qweb_report/static/css/pricetag_square_large.scss
index 3accd530..67b77d6f 100644
--- a/grap_qweb_report/static/css/pricetag_square_large.scss
+++ b/grap_qweb_report/static/css/pricetag_square_large.scss
@@ -38,6 +38,9 @@
padding-top: 0.2cm;
font-size: 12px;
}
+ .info_underline {
+ text-decoration: underline;
+ }
.product_price {
position: relative;
text-align: center;
@@ -57,7 +60,6 @@
word-wrap: normal;
}
.product_price_big {
- font-family: Open Sans;
font-weight: lighter;
font-size: 38px;
margin: 0.1cm 0;
diff --git a/grap_qweb_report/static/css/pricetag_square_small.scss b/grap_qweb_report/static/css/pricetag_square_small.scss
index 4e09bcb3..71766863 100644
--- a/grap_qweb_report/static/css/pricetag_square_small.scss
+++ b/grap_qweb_report/static/css/pricetag_square_small.scss
@@ -11,68 +11,77 @@
}
.product_labels{
float:left;
- width: 0.88cm; max-height: 1cm;
- padding-top: 0.25cm;
+ width: 0.88cm;
+ min-width: 0.55cm;
+ min-height: 1px; // to have width and height even if empty
+ max-height: 1cm;
}
img.product_label{
width:0.5cm; height:0.5cm;
- }
- .price_area {
- display: initial;
position: relative;
- bottom: 0.2cm;
- width: 2.7cm;
+ bottom: 0.15cm;
}
.product_name{
- font-size:12px; font-weight:bold;
- padding-bottom : 6px; padding-top : 5px;
+ font-size:12px;
+ padding-bottom : 6px; padding-top : 3px;
margin-top: 0.1cm;
overflow: hidden; height: 1.1cm;
text-align: center;
}
+ // ========== Price
+ .price_area {
+ text-align: center;
+ position: relative;
+ right:0.28cm;
+ width:3.8cm; height:1.9cm;
+ }
+ // 1. With special quantity price
.pricetag_second_product_price {
- font-size: 25px; font-weight: bold;
+ font-size: 25px;
text-align: center;
overflow: hidden;
+ position: relative; right: 0.28cm;
}
.pricetag_second_price_uom_text {
- font-size: 13px; font-weight: bold;
+ font-size: 13px;
text-align: center; line-height: 0.5em;
}
+ .product_price_per_uom_price_only {
+ font-size: 9px; line-height: 3em;
+ width: 100%; text-align: center;
+ }
+ // 2. With normal quantity
.product_price {
- font-size: 23px; font-weight: bold;
+ font-size: 23px;
line-height: 1cm;
overflow: hidden;
white-space: nowrap;
}
+ // 2.a Sell by weight or unit
+ .product_sell_by_weight {
+ font-size: 11px;
+ text-align: center;
+ position: relative;
+ bottom: 0.7em;
+ left: 0.2cm;
+ }
+ // 2.b Uom price
.product_price_per_uom_price {
text-align: center;
font-size:9px;
- height: 0.8cm;
display: inline;
- position : relative; left: 0.7cm;
- overflow : hidden;
- }
- .product_price_per_uom_price_only {
- font-size: 9px; line-height: 3em;
- width: 100%; text-align: center;
- }
- .product_sell_by_weight {
- font-size: 11px;
- text-align: center;
- position: relative;
- bottom: 0.7em;
- right: 0.5em;
+ position : relative; left: 0.25cm; bottom: 0.31cm;
}
- .option_print_code{
+
+ // ========== Codes
+ .option_print_codes{
text-align: center;
font-size: 6px;
- margin-bottom: 4px;
}
.wrap_barcode_image{
overflow: hidden;
- position: relative; bottom: 0.17cm;
- height: 0.35cm;
+ position: relative; bottom: 0.24cm;
+ height: 0.30cm;
}
.wrap_barcode_image > img{
width: 3.8cm;