Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
9026 Ansichten

I'm trying to add a QR image to the POS's receipt. The code I used in a normal invoice that worked was the following one:

<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s'%('QR', o.qr_code_string, 150, 150)"/>

For the receipt, I exported for printing my string as receipt.qr_string and added the following line to the receipt's inheriting XML file:

<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s'%('QR', receipt.qr_string, 150, 150)"/>

But the image appear like a broken link. How do I achieve this?

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Nov. 21
48
0
Jan. 21
345
1
Dez. 20
3543
0
Mai 24
1866
0
Juni 21
2815