Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3814 Zobrazení

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
0
bře 25
750
1
úno 23
4201
2
říj 22
3898
2
dub 22
7602
0
říj 21
3798