Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5418 มุมมอง

I know that to force a pagebreak I have to add a  style="page-break-after: always;" to a block, but how can I do it using Studio ? 
I found only the option to add a class, not a style.
อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

It's not possible :( You have to manually edit the template by hand

อวตาร
ละทิ้ง

Ooh, Could you please tell me what to change .. I think in "report_saleorder_document"

And If possible I want to inser Break after 10 line of item to the next page.

Thank you for help.

ผู้เขียน

You have to add something similar to this

<div style="page-break-after: always;" ></div>

If you want to do this every ten lines, you have to use some conditional block, you have to look at QWeb documentation

คำตอบที่ดีที่สุด

Please help me I have the same problem.

Alessandro Fiorino
How to add page break in Class? please explain I am new to Odoo.
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
ธ.ค. 23
3646
Report editor: Show specific item แก้ไขแล้ว
1
มี.ค. 24
2341
0
ก.พ. 22
998
Custom header on SO and invoice reports แก้ไขแล้ว
1
ก.ย. 21
2689
How to display a report in a url? แก้ไขแล้ว
1
ก.ค. 21
4653