콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
4044 화면

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
1012
1
2월 23
4459
2
10월 22
4183
2
4월 22
7898
0
10월 21
4124