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

Hiii,


i have one report. inside report i am printing product information but due to too long product description odoo leave space and print product on next page. 

i have to avoid this page break and display product without page break. it is fine if it break content and display on next page.

you can see those space in screen shot: http://goo.gl/b6qRvi

Also looking wired for first page if product description is long and not fit in first page. http://goo.gl/Rg73oc

if anyone have any idea please help me.

thanks,

아바타
취소

Plzz can you update if the Issue is being solved yet, i am facing the same problem with
breaking of page in pdf for long content in table

작성자

@Vatsal It wasn't resolved

ALERT !
Mass negative voting detected

베스트 답변

In order to avoid page breaks in your report, you can try setting the "white-space" property in your CSS to "nowrap". This will prevent the text from wrapping onto a new line and will instead cause it to overflow onto the next page. You can use the "page-break-inside" property to prevent the entire element from being broken across pages.

아바타
취소

If I give the tr tag: style="page-break-inside: auto"
It linebreak (great!) but then I have the text inside the repeating headers on the next page.
Also the 3rd Item has no linebreak :(
https://i.imgur.com/UcMwq2Q.jpg

베스트 답변

Any Update? 

How to solve this?

아바타
취소
베스트 답변

Hello Virali,


Remove style if you used "page-break-inside: avoid;"  in your code.

If not then post your code.


thanks,

아바타
취소
작성자

Hii Akash, Thanks for your response. but it is not working with default odoo. http://goo.gl/K8Lfqg this report is print from default odoo.

관련 게시물 답글 화면 활동
0
9월 22
5550
0
3월 24
3149
1
4월 25
1384
2
3월 25
1591
4
11월 24
7283