Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3831 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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



Imagine profil
Abandonează
Autor

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

Related Posts Răspunsuri Vizualizări Activitate
0
mar. 25
778
1
feb. 23
4222
2
oct. 22
3960
2
apr. 22
7652
0
oct. 21
3853