Odoo Help


This community 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.


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

Jörn Tomaszewski
on 8/8/13, 1:25 PM 1,575 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


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