Skip to Content
Menú
This question has been flagged
1 Respondre
4613 Vistes

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

Avatar
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de febr. 24
14002
0
de des. 21
3144
2
de març 15
5618
2
de març 23
7717
0
de nov. 16
4149