Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6501 มุมมอง

Hello Community 

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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>

อวตาร
ละทิ้ง