跳至内容
菜单
此问题已终结
2 回复
3826 查看

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.

形象
丢弃
最佳答案

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

形象
丢弃
最佳答案

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



形象
丢弃
编写者

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

相关帖文 回复 查看 活动
0
3月 25
774
1
2月 23
4220
2
10月 22
3948
2
4月 22
7635
0
10月 21
3832