I'm trying to print a pos ticket receipt with barcode from the order name ,
I'm trying it by this way
<div>
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('CODE128', 'receipt.name', 400, 67)" style="width:100%;height:20%;" alt="Barcode"/>
</div>
it's not work well and it's return a small img at the place of the record postion
how this can be done ?