Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3860 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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)" />



Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
0
mar 25
795
1
lut 23
4249
2
paź 22
3983
2
kwi 22
7690
0
paź 21
3876