Skip to Content
Menu
This question has been flagged

I installed Garamond Font-family on ubuntu 16.04 server , tested on a webpage using Apache and it worked fine.

I created a report to use the Garamond font , but did not change the font.

 

<template id="new_quotation">
<t t-call="report.html_container">
<t t-foreach="docs" t-as="doc">
<!--<t t-set="doc" t-value="doc.with_context({'lang':doc.partner_id.lang})" />-->
<div class="page" style="font-family:Garamond;font-size:16px;">
<div class="oe_structure"/>
<div class="row">
<div class="col-xs-6">
<strong t-if="doc.partner_shipping_id == doc.partner_invoice_id">Invoicing address:</strong>
<!--<strong t-if="doc.partner_shipping_id != doc.partner_invoice_id">Invoicing address:</strong>-->
<div t-field="doc.partner_invoice_id"
t-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": True, "phone_icons": True}'/>
<!--<p t-if="doc.partner_invoice_id.vat">VAT: <span t-field="doc.partner_invoice_id.vat"/></p>-->
<!--<div t-if="doc.partner_shipping_id != doc.partner_invoice_id" class="mt8">-->
<!--<strong>Shipping address:</strong>-->
<!--<div t-field="doc.partner_shipping_id"-->
<!--t-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": True, "phone_icons": True}'/>-->
<!--<p t-if="doc.partner_shipping_id.vat">VAT: <span t-field="doc.partner_shipping_id.vat"/></p>-->
<!--</div>-->
</div>
Avatar
Discard

Probably related to another bug report that is open, which causes a lot of problems with rendering fonts in Odoo: https://github.com/odoo/odoo/issues/27503

Author

Thanks, I checked the link above and your comments. i can now make my decisions.

Related Posts Replies Views Activity
1
Feb 18
10955
0
Oct 24
117
1
Apr 24
965
7
Sep 24
22444
1
Mar 24
275