跳至內容
選單
此問題已被標幟
1 回覆
4697 瀏覽次數

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

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
2月 24
14175
0
12月 21
3188
2
3月 15
5747
2
3月 23
7860
0
11月 16
4211