because of problem while posting my previous topic, now i am posting it here.
please check my code below, i want to conatenate 2 fields o.name & o.ref to generate barcode in qweb pdf, how i can do it, please help.
img t-att-src="'/report/barcode/Code128/'+o.name + o.ref" style="width:200px;height:50px" alt="Barcode"
note: for a single value o.name its working fine, i can scan & check value through mobile app, but when concatenate 2 fields o.name + o.ref , its generating barcode in PDF but it is not showing anything when scanning through mobile app. means the generated barcode is not valid.
please help how i can do it?
regards
Please use the following code snippet without the '+' symbol and unwanted ''
<img t-attf-src="/report/barcode/Code128/{{o.name}}{{o.ref}}" style="width:200px;height:50px" alt="Barcode"/>