Odoo Help


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.


How to display pagenumber in rml for OpenERP7

Drees Far
on 9/28/15, 6:20 AM 424 views

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.


Can anyone help please need an answer guys :/

Drees Far
on 9/28/15, 12:36 PM

Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--
| 5 3 6
Gandhinagar, India
--Ankit H Gandhi(AHG)--

Learning Python..

Ankit H Gandhi(AHG)
On 9/29/15, 2:14 AM

Dear Drees Far,

You can do so by just writing "< pageNumber/>" in your .rml, but you have to write it under

"template/pageTemplate/pageGraphics" tags.

For example:

<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

Thanks a lot for your answer my friend :)

Drees Far
on 9/29/15, 11:55 AM

Your Welcome !!! @ Drees Far.

Ankit H Gandhi(AHG)
on 9/30/15, 1:30 AM

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)


Asked: 9/28/15, 6:20 AM
Seen: 424 times
Last updated: 9/29/15, 11:55 AM