Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4249 Näkymät

I'm trying to print a pos ticket receipt with barcode from the order name , 


I'm trying it by this way

<div>
<img
t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('CODE128', 'receipt.name', 400, 67)" style="width:100%;height:20%;" alt="Barcode"/>
</div>


it's not work well and it's return a small img at the place of the record postion

how this can be done ?
Avatar
Hylkää
Paras vastaus

any success? I am having same issue.


Avatar
Hylkää
Tekijä

i did it
and i'm upload the solution on odoo app store
https://apps.odoo.com/apps/modules/13.0/pos_barcode_receipt/

Okay Thank you. Have you used default Odoo QR printing or used some third party JS library for printing QR?

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
maalisk. 16
3458
0
heinäk. 15
3361
0
tammik. 24
1698
1
elok. 21
10185
3
kesäk. 21
10555