Skip to Content
Menu
This question has been flagged
2 Replies
3883 Rodiniai

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.

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Best Answer

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



Portretas
Atmesti
Autorius

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

Related Posts Replies Rodiniai Veikla
0
kov. 25
826
1
vas. 23
4282
2
spal. 22
4015
2
bal. 22
7715
0
spal. 21
3916