Přejít na obsah
Menu
You need to be registered to interact with the community.
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
Zrušit

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

Autor

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

Related Posts Odpovědi Zobrazení Aktivita
1
úno 18
12375
1
čvc 25
2102
0
čvn 25
2
1
kvě 25
2341
1
dub 25
2564