Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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.
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.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/8/13, 1:25 PM|
|Seen: 1735 times|
|Last updated: 3/16/15, 8:10 AM|