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
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
1
Odpovědět
11643
Zobrazení
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
0
kvě 24
|
1630 | ||
|
2
kvě 24
|
3264 | ||
Sale Order PDF Report
Vyřešeno
|
|
3
úno 24
|
2802 | |
|
2
úno 24
|
2490 | ||
|
2
lis 22
|
5638 |
Please be specific.