Browse Source

Add barcode2

12.0
Juliana 3 years ago
parent
commit
8ee9338c4e
  1. 3
      static/src/xml/pos.xml

3
static/src/xml/pos.xml

@ -76,6 +76,8 @@
<receipt align='center' width='40' value-thousands-separator='' >
<div class="pos-sale-ticket">
<div class="pos-center-align title-mag">Rayon vrac</div>
<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('EAN13', widget.get_barcode_data(), 300, 50)" style="width:100%;height:35%;" />
<br/>
<br/>
<div font='b'>
<div class="pos-center-align title-product"><t t-esc="transaction.name"/></div>
@ -110,7 +112,6 @@
<br />
<line>
<left>
<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('EAN13', widget.get_barcode_data(), 300, 50)" style="width:100%;height:35%;" />
<!-- <img t-att-src="'/report/barcode/EAN13/' + widget.get_barcode_data()" /> -->
<span class="caption"><t t-esc="num_ean13"/></span>
</left>

Loading…
Cancel
Save