콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
5727 화면

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
4072
1
3월 24
2629
0
2월 22
1151
1
9월 21
2946
1
7월 21
4987