Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
5433 Переглядів

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
3665
1
бер. 24
2348
0
лют. 22
999
1
вер. 21
2696
1
лип. 21
4668