Adding Barcode and QR Code in Qweb Report
QR Code
<div class="col-xs-6">
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s'%('QR', o.name, 120, 120)"/>
</div>
Barcode
<div class="col-xs-6">
<img class="barcode" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&humanreadable=1' % ('Code128', o.name, 400, 67)"/>
</div>

Komentar
Posting Komentar