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

How can I change the font size in all reports?


Which view should I inherit? Is it web.report_layout?


I can't find where font size is set


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

Hi,

To change the font size of all reports you need to inherit the report_layout.

You can add the font style for a div with id "wrapwrap" inside the template.


example:

 <template id="inherit_report_layout"
inherit_id="web.report_layout">
        <xpath expr="//div[@id='wrapwrap']"
               position="attributes">

               <attribute name="style">font-size:10px;</attribute>
        </xpath>

</template>


Hope its helpful


Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ย. 23
4600
2
มี.ค. 24
2484
Odoo 12 - Customize report font size แก้ไขแล้ว
2
ก.ย. 21
26085
0
ม.ค. 17
3416
1
มิ.ย. 24
2567