This question has been flagged

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
Discard

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