Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am using rml as reporting language for openerp7. In there i would require to put a page break after a text.
My Code is below
<!-- Here i am printing a table which consumes half of the page --> <b> This is the first page Text. After this all should come in the second page </b> <blockTable style="Table4"> <condPageBreak height="8cm"/> <!--This doesn't work. even if i give any value to the height attribute --> <tr> <td> <para style="P26"> Text as a paragraph </para> </td> </tr> </blockTable>
Kindly Clarify me. Thanks for your time.
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.
This works fine for me.
<!-- Here i am printing a table which consumes half of the page --> <b> This is the first page Text. After this all should come in the second page </b> <condPageBreak height="9cm"/> <blockTable style="Table4"> <tr> <td> <para style="P26"> Text as a paragraph </para> </td> </tr> </blockTable>
It was a mistake to give it as less.
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 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
|Asked: 8/5/13, 8:11 AM|
|Seen: 4573 times|
|Last updated: 3/16/15, 8:10 AM|