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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
11881
Lượt xem
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 5 24
|
1726 | ||
|
2
thg 5 24
|
3429 | ||
Sale Order PDF Report
Đã xử lý
|
|
3
thg 2 24
|
2945 | |
|
2
thg 2 24
|
2607 | ||
|
2
thg 11 22
|
5787 |
Please be specific.