Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
3901 Näkymät

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
Hylkää
Paras vastaus

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

Avatar
Hylkää
Paras vastaus

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
Hylkää
Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
maalisk. 25
833
1
helmik. 23
4291
2
lokak. 22
4035
2
huhtik. 22
7739
0
lokak. 21
3920