Odoo Help


Page Break in RML Report

Pornima Mane
on 5/22/14, 3:37 AM 2,207 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


Dhinesh - Technical Consultant, Sodexis Inc

--Dhinesh - Technical Consultant, Sodexis Inc--
| 5 4 9
Pondicherry, India
--Dhinesh - Technical Consultant, Sodexis Inc--

Passionate coder in Python/OpenERP. Knows Django/Flask MVC frameworks. Did code in Java, PHP.

Contact me at: dvdhinesh.mail@gmail.com

Dhinesh - Technical Consultant, Sodexis Inc
On 5/22/14, 3:49 AM

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.


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)


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