Browse Source

Add barcode

12.0
Juliana 3 years ago
parent
commit
78d3dac731
  1. 3
      static/src/xml/pos.xml

3
static/src/xml/pos.xml

@ -110,7 +110,8 @@
<br />
<line>
<left>
<img t-att-src="'/report/barcode/EAN13/' + widget.get_barcode_data()" />
<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>
</line>

Loading…
Cancel
Save