This question has been flagged
2 Replies
3022 Views

Hi everyone,

I'd like to generate a barcode QR or PDF417 for many fields in my custom report for getting more information
I have tried  with this syntax : <img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('QR', o.name 100, 100)"/>

but this show me a barcode for one field (for example "name")

any idea ? thanks

Avatar
Discard
Author Best Answer

Thanks Niyas for your answer, i found how can i generate barcode PDF 417 for one field

now i'd like to generate this barcode for merging many fields on one field because the barcode PDF 417 or QR can be load multiple value


Avatar
Discard
Best Answer

HI,

In the above code you can see its given as o.name in the syntax. So the Barcode based on the value in that field will generated.

if You want to generate the barcode based on the another field in the object replace the o.name by o.new_field_name.


Thanks

Avatar
Discard