Hi all,
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
/usr/share/fonts/truetype/OCRA/ocraextended.ttf
and also at
/usr/share/fonts/truetype/ocraextended.ttf
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.