Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2745 มุมมอง

----------SOLVED----------

Hello!

I want to put a base64 QR code in my POS Receipt with some of the order information.

I already got to inherit and edit the POS Receipt.

But I can't send the QR code to the Receipt with "export_for_printing()" because I need to make the function async in order to generate the QR code.

Everytime I try to make it async, I get "TypeError: ctx.receipt.company is undefined", because maybe another function which is not async is trying to get the data.

Do you have any idea that could help me?

Thanks!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Odoo 14: Reload Point Of Sale แก้ไขแล้ว
1
เม.ย. 24
1939
0
ก.ค. 21
312
0
ก.พ. 19
3384
0
ก.พ. 19
5909
2
เม.ย. 16
3494