Odoo Help

0

Page Break in RML Report

By
Pornima Mane
on 5/22/14, 3:37 AM 1,986 views

I want to the break the page at particular location in RML report

in my report i have two tables and i want to display each table on new page.

(the no of lines in each table are not fixed) thats why I want to break the page after ending of first table .so that 2nd table will start on new page. plz tell me how to achieve this.. Thanks

3

Try conditional page break for RML report... I think it may help you...
 

The <condPageBreak/> is a "CONDitional Page Break". To use it, you give it a height in any units that RML can handle. It then compares this height with the remaining available space on a page. If the space is sufficient, then the next elements are placed on the current page, but if there is less space than the height you have given it anything following the <condPageBreak/> tag is continued on the next page.


<condPageBreak/> has only one attribute - the mandatory one of height.

<condPageBreak height="1in"/>
<condPageBreak height="72"/>

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/22/14, 3:37 AM
Seen: 1986 times
Last updated: 3/16/15, 8:10 AM