Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5396 Widoki

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.
Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć

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.

Autor

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

Najlepsza odpowiedź

Please help me I have the same problem.

Alessandro Fiorino
How to add page break in Class? please explain I am new to Odoo.
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
gru 23
3635
1
mar 24
2337
0
lut 22
997
1
wrz 21
2682
1
lip 21
4653