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

Hi there,

i try to print I2of5 barcode in openerp report, but there is always black border around the barcode.

It would be very nice if somebody tell me how to get rid of it.

Best regards, Lik

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

Hi!

Try with this:

<div style="width: 500px; height: 70px; overflow: hidden">

                            <div style="margin-top:-5px">

                                <img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('I2of5', o.c_cae, 500, 80)" style="width:500px;height:80px"/>

                            </div>

                        </div>


Regards,

Luciano

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 24
14192
0
thg 12 21
3213
2
thg 3 15
5810
2
thg 3 23
7877
0
thg 11 16
4237