Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
3832 Представления

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
780
1
февр. 23
4222
2
окт. 22
3961
2
апр. 22
7654
0
окт. 21
3859