product_print_category_supermarket: option to show barcode in labels
This commit is contained in:
parent
d2a08d6238
commit
fb8b2fd9e0
2 changed files with 13 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,6 +83,11 @@
|
|||
t-options='{"widget": "float", "precision": 2}' /> €/Kg.
|
||||
</t>
|
||||
</div>
|
||||
<t t-if="product.barcode and category_data['print_category'].show_barcode">
|
||||
<div class="product_barcode" >
|
||||
<span t-field="product.barcode"/>
|
||||
</div>
|
||||
</t>
|
||||
</div>
|
||||
</t>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue