I have created a QWeb template for PDF report. Can i use a custom font for it. I have tried downloading font and creating SCSS file. but it didn't work. Is there any other ways to do it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
You can search the Forum in case your question was asked by someone else - see https://www.odoo.com/forum/help-1/can-i-use-a-custom-font-in-an-odoo-report-like-a-cursive-one-184064#answer-184069
When I give like this, the font is changed in HTML format. but when i download PDF file, font isn't changing.
Which PDF report did you modify? How did you modify it? In some cases we have QWEB applicable to just the PDF version and some applicable just to the Portal version.
Hi,
To change the font, we can use the following code in our template,
<div class="page" style="font-size: 18pt;font-family:Helvetica,
Hope it helps
This method isn't working. I am using odoo v17
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
0
พ.ค. 24
|
1470 | ||
Sale Order PDF Report
แก้ไขแล้ว
|
|
3
ก.พ. 24
|
2615 | |
|
2
พ.ย. 22
|
5504 | ||
|
0
เม.ย. 24
|
1412 | ||
|
2
ต.ค. 23
|
4323 |