コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5410 ビュー

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.
アバター
破棄
関連投稿 返信 ビュー 活動
4
12月 23
3644
1
3月 24
2341
0
2月 22
998
1
9月 21
2686
1
7月 21
4653