Where can i customize the PDF reports fonts size?
BR
Hello Recardo,
you can use style tag where you want and change font size. for example
<t-field="doc.date_order" style="font-size:12px"/>
I hope it's help you.
Say you are modifying the font size for a Purchase Order PDF.
Open the Settings module and Activate the developer mode (bottom right)
Open the module that the PDF is in. In this case, it is Purchase
Activate Odoo Studio
Open Reports tab (top right)
Open the PDF you are trying to edit
Click on Report on the sidebar on the left
Open XML and there is a page with code.
There is a drop down menu where you can view multiple layers of the code
Look for the report named report_purchaseorder_document
Insert the code style="font-size:12px" within any of the <> sections
<th ____________ />
<span _____________/>
Bonus:
color: red (changes color of font)
font-weight: bold (changes font to bold)
Good solution for those who have odoo studio!
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
2
Mar 24
|
5211 | |||
|
0
Oca 17
|
4877 | |||
|
2
Şub 26
|
4553 | |||
|
3
Mar 26
|
1091 | |||
|
1
Şub 24
|
7980 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.