This question has been flagged
2 Replies
1281 Views

Hi if i 180mmx18mm barcode not seems good please help thanks 

https://prnt.sc/vm542y

<img   t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s&amp;humanreadable=%s' %(data['form']['barcode_type'], get_barcode_value(product[0], data), int(data['form']['display_width']), int(data['form']['display_height']), is_humanreadable(data))" style="width=%s&amp;height=%s"/>

Avatar
Discard
Author Best Answer

But still foggy blur :(


report/barcode/?type=EAN13&value=888111010000&width=180&height=45&humanreadable=1&quiet=1



i must change style="width: height size how can we get with %

Avatar
Discard

<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s&amp;humanreadable=%s' %(data['form']['barcode_type'], get_barcode_value(product[0], data), 700, 150, is_humanreadable(data))" style="width=350px;height=75px"/>

Author

İts not working correctly. quiet=1 to quiet=0

Best Answer

inherit report_barcode method change parameter quiet=1 to quiet=0

Avatar
Discard