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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
10946
Visualizzazioni
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
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
0
mag 24
|
1085 | ||
|
2
mag 24
|
2453 | ||
Sale Order PDF Report
Risolto
|
|
3
feb 24
|
2195 | |
|
2
feb 24
|
2158 | ||
|
2
nov 22
|
4997 |
Please be specific.