Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4827 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
февр. 24
14546
0
дек. 21
3381
2
мар. 15
5976
2
мар. 23
8168
0
нояб. 16
4382