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.
Hello my friends;
Please, i am creating a new report for OpenERP using RML.
So, i want to add the page number in a cell.
I have tried this but it doesnt display any thing.
<para style="P7">Page N° :<pageNumber/></para>
Despite the fact, when i want to display the page number in the footer, everything works fine.
Any suggestion please.
Thanks a lot in advance.
Dear Drees Far,
You can do so by just writing "< pageNumber/>" in your .rml, but you have to write it under
<template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
<drawCentredString x="10.5cm" y="0.8cm">Page: <pageNumber/></drawCentredString>
for reference go to settings > company > header/footer tab. in this you will get the reference for page number.
Hope this will solve your problem.
Thanks & Regards
Ankit H Gandhi
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: 9/28/15, 6:20 AM|
|Seen: 512 times|
|Last updated: 9/29/15, 11:55 AM|