Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
3823 Weergaven

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
Annuleer
Beste antwoord

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

Avatar
Annuleer
Beste antwoord

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
Annuleer
Auteur

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

Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 25
773
1
feb. 23
4218
2
okt. 22
3948
2
apr. 22
7630
0
okt. 21
3830