I want to use the power of CSS Flexbox when creating a PDF report. How to apply CSS Flexbox in QWeb?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
11770
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
0
mai 24
|
1672 | ||
|
2
mai 24
|
3338 | ||
Sale Order PDF Report
Résolu
|
|
3
févr. 24
|
2862 | |
|
2
févr. 24
|
2538 | ||
|
2
nov. 22
|
5703 |
Please be specific.