تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4433 أدوات العرض

Hiii,


i have one report. inside report i am printing product information but due to too long product description odoo leave space and print product on next page. 

i have to avoid this page break and display product without page break. it is fine if it break content and display on next page.

Also looking wired for first page if product description is long and not fit in first page. 

if anyone have any idea please help me.

thanks,

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

You can resolve the overlapping content with repeating table header by adding display: table-row-group style to your table header as follows: 

thead style="display: table-row-group"



This is the method Odoo followed to resolve the problem the long text and overlapping.

Thanks

الصورة الرمزية
إهمال
أفضل إجابة

Hi,




You could avoid a page break in QWeb using something like this:

<div style="page-break-before: avoid;">
   ...
</div>

use page-break-before or page-break-after, page-break-inside and you could do a conditional break, wrapping that snippet in a "t-if" statement




Hope it helps

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
نوفمبر 24
812
0
مايو 24
1559
2
مايو 24
3185
3
فبراير 24
2737
2
نوفمبر 22
5583