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

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,

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

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

Tác giả

@Vatsal It wasn't resolved

ALERT !
Mass negative voting detected

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

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.

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

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

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

Any Update? 

How to solve this?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Virali,


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

If not then post your code.


thanks,

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 22
5517
0
thg 3 24
3132
1
thg 4 25
1345
2
thg 3 25
1532
4
thg 11 24
7217