Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
5419 Prikazi

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.
Avatar
Opusti
Avtor Best Answer

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

Avatar
Opusti

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.

Avtor

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

Best Answer

Please help me I have the same problem.

Alessandro Fiorino
How to add page break in Class? please explain I am new to Odoo.
Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
4
dec. 23
3649
1
mar. 24
2342
0
feb. 22
998
1
sep. 21
2691
1
jul. 21
4655