Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6456 Vizualizări

Hello Community 

i want to apply an family font to all reports at once how can i do that ?

Imagine profil
Abandonează
Cel mai bun răspuns

Maybe you can try to define the font in your header most reports use the same header i think


<t t-name="report.external_layout">
<style>
    body {font-family:arial;};
</style>  
    <!-- Multicompany -->
    <t t-if="not o and doc">
        <t t-set="o" t-value="doc"/>
    </t>
    <t t-if="o and 'company_id' in o">
        <t t-set="company" t-value="o.company_id"/>
    </t>
    <t t-if="not o or not 'company_id' in o">
        <t t-set="company" t-value="res_company"/>
    </t>

    <t t-call="report.external_layout_header"/>
    <t t-raw="0"/>
    <t t-call="report.external_layout_footer"/>
</t>

Imagine profil
Abandonează