Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1962 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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;"/>

Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 23
1947
Removing Barcode Đã xử lý
3
thg 7 21
4564
1
thg 3 15
3699
0
thg 3 15
3467
0
thg 3 15
2925