Odoo Help

Welcome!

This community 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.

0

Page Break in RML Report

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

Dhinesh - Technical Consultant, Sodexis Inc

--Dhinesh - Technical Consultant, Sodexis Inc--
3577
| 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"/>

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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