Skip to Content
Menú
This question has been flagged
4894 Vistes

I want to:

#1 - Add a barcodefont.ttf to openerp #2 - Have invoice number automatically printed using the barcode font on specific report

I have already added the barcode fonts to

cd /usr/share/fonts/truetype

CustomTTFonts = [ ('barcodefont',"barcodefont", "barcodefont.ttf", 'normal')

I changed the font to barcodefont in the report designer and it uses para4 in RML and not using the right font.

I then manually edited the RML report with the following:

<parastyle name="barcode_9" fontname="barcodefont" fontsize="9.0" leading="10" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/>

Still the font is not showing. Please help

Avatar
Descartar

Hi, I am also looking for some functionality like this, Can someone show us a way if you found any. Thanks in Advance.

Related Posts Respostes Vistes Activitat
0
d’ag. 17
2813
5
de gen. 24
14501
1
de març 15
5245
2
de nov. 24
7969
1
de març 15
10760