Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
3851 Visualizações

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
Cancelar
Melhor resposta

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
0
mar. 25
792
1
fev. 23
4227
2
out. 22
3975
2
abr. 22
7681
0
out. 21
3871