Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
3880 Ansichten

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
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Autor

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
März 25
823
1
Feb. 23
4280
2
Okt. 22
4006
2
Apr. 22
7714
0
Okt. 21
3913