Odoo Help


Add fonts to RML report using Open Office Writer?

Damian Phang
on 2/13/14, 12:45 AM 2,195 views

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

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

Komala Kiran Kumar. Parepalli
on 10/22/14, 8:28 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/13/14, 12:45 AM
Seen: 2195 times
Last updated: 3/16/15, 8:10 AM