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
- Buchhaltung
- Lager
- PoS
- Project
- MRP
Diese Frage wurde gekennzeichnet
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).
.
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
1
Sept. 21
|
2543 | ||
PDF reports
Gelöst
|
|
5
Juli 25
|
2150 | |
Wrong PDF Format
Gelöst
|
|
2
März 24
|
2680 | |
|
4
Dez. 23
|
3627 | ||
|
2
Mai 23
|
3097 |
Its all about QWEB Reporting: https://learnopenerp.blogspot.com/search/label/Qweb