Skip to Content
Menú
This question has been flagged
2 Respostes
3853 Vistes

In Odoo 14 the Barcode is print on the pos receipt, instead of it will therewith a NAN image.

code: <img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('QR', receipt.name, 200, 200)"/>

But it does not display the barcode in Pos Receipt.

Avatar
Descartar
Best Answer

Any Success @Dipen Shah? I am having same issue. 

Avatar
Descartar
Best Answer

Hi,

The below code helps you to print QR Code in POS

<img t-att-src=" '/report/barcode/?type=QR&value=%s&width=200&height=200&humanreadable=1' % (receipt.name)" />



Avatar
Descartar
Autor

Thank you for the suggestion, but still, the img src is NAN.

Related Posts Respostes Vistes Activitat
0
de març 25
792
1
de febr. 23
4229
2
d’oct. 22
3979
2
d’abr. 22
7681
0
d’oct. 21
3873