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:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
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).
.
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
سبتمبر 21
|
2558 | ||
PDF reports
تم الحل
|
|
5
يوليو 25
|
2163 | |
Wrong PDF Format
تم الحل
|
|
2
مارس 24
|
2701 | |
|
4
ديسمبر 23
|
3647 | ||
|
2
مايو 23
|
3108 |
Its all about QWEB Reporting: https://learnopenerp.blogspot.com/search/label/Qweb