Odoo Help


How do I use custom fonts with the LibreOffice Report Designer Plugin?

Jörn Tomaszewski
on 8/8/13, 1:25 PM 2,156 views

I am trying to edit the invoice report. I "Modify existing report" and installed the "Futura Lt BT" font in my system. If I change the font in OpenOffice to something supported (such as DejaVu) and upload it, it is shown correctly in the printed invoice.

I also installed the Futura font on the server. In the header/footer-section, that works fine. But when using Futura in OpenOffice, it is completely ignored by openERP and falls back to some standard font.

Can anybody please help me and explain in Detail how I get the desired fonts into my reports? Thanks in advance.

Jörn Tomaszewski
On 8/9/13, 1:04 PM

There seems to be no direct solution.

What I did was this: 1. Edited the report in OpenOffice as far as that was possible. Doing this results in the sxw and rml beeing stored in the database in table "ir_act_report_xml", field "report_sxw_content_data" and "report_rml_content_data" with the id of the report you are working on, as binaries. Any changes can now only be made in the database, the rml file in the filesystem is ignored.

  1. Download the rml content data to a file. Edit the fonts manually according to your specifications or change other stuff that couldn't be done with OpenOffice.

  2. Update the according field in the database with the edited rml data.

If anyone has a better idea how to do this, I'd be pleased to hear.

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

2 follower(s)


Asked: 8/8/13, 1:25 PM
Seen: 2156 times
Last updated: 3/16/15, 8:10 AM