I'm trying to customize the external layout xml for document reports (especially Sales Order/Invoice).
The report rendering in Studio (html) works fine but the rendering doesn't work for PDF documents.
How can I enable bootstrap for PDF documents?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I'm trying to customize the external layout xml for document reports (especially Sales Order/Invoice).
The report rendering in Studio (html) works fine but the rendering doesn't work for PDF documents.
How can I enable bootstrap for PDF documents?
Hi,
With odoo 12, they use bootstrap 4. therefore you need to use bootstrap 4 class for your layout developments. some class on bootstrap 3, not working with version 04. because of that you have to use bootstrap 4 with odoo 12.
Yoy can use bootstrap classes in pdf documents if they don't depend on Bootstrap media queries (@media). For example, class="col-4" works, while class="col-md-4" does not. If class="col-4" does not work for example, set the following parameter system report.url = "localhost:8069" being localhost:8069 the url of your server.
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
0
Sep 21
|
3536 | |||
|
1
Mei 18
|
4494 | |||
|
2
Jan 17
|
7660 | |||
|
Reports not auto-saved to attachments
Diselesaikan
|
3
Mar 15
|
8386 | ||
|
Add Customer Name to Printed Reports Name
Diselesaikan
|
2
Okt 24
|
3198 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.