How to create a page break if an image is broken in PDF report ?
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ờ
Use case
If you want to add an image at the bottom of a PDFdocument (example: the image of a stamp and signature of the CEO).
But you don't want the image to be split between 2 pages.
Example
A added an image field on the company form: x_studio_stamp
I added the image with studio on the sale order report.
Edit the XML view and change the style:
style="page-break-inside: avoid;page-break-before: auto;page-break-after:avoid;"
=> The image will be automatically displayed at the second page (if not enough space on page 1).
.
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 | |
---|---|---|---|---|
|
1
thg 9 21
|
2261 | ||
|
4
thg 6 24
|
1492 | ||
Wrong PDF Format
Đã xử lý
|
|
2
thg 3 24
|
1894 | |
|
4
thg 12 23
|
3126 | ||
|
2
thg 5 23
|
2534 |
Its all about QWEB Reporting: https://learnopenerp.blogspot.com/search/label/Qweb