Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
3856 Vues

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
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Meilleure réponse

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

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

Publications associées Réponses Vues Activité
0
mars 25
792
1
févr. 23
4230
2
oct. 22
3979
2
avr. 22
7683
0
oct. 21
3873