I recently migrated from OpenERP7 to Odoo8 using OpenMigrate (went well so far) but am having trouble installing the font that I like to use for my customized quotation form. I would rather not port the whole thing over to HTML/CSS right now, since the form took me a while to draw up in RML. I installed the font, and know that it is installed system-wide because I can select it under Companies -> Report Configuration -> Font, and it correctly renders when I preview the Header/Footer. However when I try to run my RML report I get this error:
2015-09-28 18:26:32,880 1507 WARNING IOI_CRM openerp.report.render.rml2pdf.trml2pdf: Could not locate font OCRA, substituting default: None
Anyone dealt with this before? The font file is installed (Ubuntu) at
and also at
I have the font added to customfonts.py as such:
CustomTTFonts = [('OCRA', 'OCRA', 'ocraextended.ttf', 'all')]
Did anything change here? Is there another way of calling this font? In my RML it is initiated like this, which worked perfectly in v7:
<paraStyle name="OCRA" fontName="OCRA" fontSize="9" leading="10" alignment="LEFT"/>
Any advice would be greatly appreciated.
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
|Asked: 9/28/15, 2:56 PM|
|Seen: 393 times|
|Last updated: 1/26/16, 7:07 AM|