Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
3888 Переглядів

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.

Related Posts Відповіді Переглядів Дія
0
бер. 25
832
1
лют. 23
4283
2
жовт. 22
4025
2
квіт. 22
7734
0
жовт. 21
3917