Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5402 Lượt xem

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.
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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.

Tác giả

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

Câu trả lời hay nhất

Please help me I have the same problem.

Alessandro Fiorino
How to add page break in Class? please explain I am new to Odoo.
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 12 23
3643
1
thg 3 24
2340
0
thg 2 22
998
1
thg 9 21
2683
1
thg 7 21
4653