Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1998 Zobrazení

Hello,


I want to show the product barcode in a report that I created in work order so how can I add it?


May anyone help please its so important! Waiting for a reply.


Thanks.

Avatar
Zrušit
Nejlepší odpověď

Hi asma, 

Hope you doing well. 

Please find code in comment. 

I Hope this will help you. 

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Zrušit

XML:
<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', product_id.barcode, 600, 100)"
style="width:350px;height:60px;"/>

Autor

Hi Jainesh,

My report can be view and pdf I used the code you gave the barcode is shown in the view but not in the pdf so is there a solution.

Related Posts Odpovědi Zobrazení Aktivita
1
čvn 23
1971
3
čvc 21
4590
1
bře 15
3728
0
bře 15
3500
0
bře 15
2971