跳至內容
選單
此問題已被標幟
2 回覆
3843 瀏覽次數

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
790
1
2月 23
4225
2
10月 22
3971
2
4月 22
7679
0
10月 21
3871