I want to use the power of CSS Flexbox when creating a PDF report. How to apply CSS Flexbox in QWeb?
Pertanyaan ini telah diberikan tanda
1
Balas
14097
Tampilan
You need to use an older syntax because the reporting system is using QtWebKit 2.3 (it's 10 years old).
.foo { display: -webkit-box; /* wkhtmltopdf uses this one */ display: -webkit-flex; display: flex; -webkit-box-pack: center; /* wkhtmltopdf uses this one */ -webkit-justify-content: center; justify-content: center; }
There should be a way to use the new syntax on Odoo but I can't help you, if you find a solution let me know.
Thanks
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
0
Mei 24
|
3265 | ||
|
|
2
Mei 24
|
5727 | ||
|
Sale Order PDF Report
Diselesaikan
|
|
3
Feb 24
|
5135 | |
|
|
2
Feb 24
|
3992 | ||
|
|
2
Nov 22
|
7647 |
Please be specific.