Odoo Help


How to display pagenumber in rml for OpenERP7

Vale Trood
on 9/28/15, 6:20 AM 928 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 :/

Vale Trood
on 9/28/15, 12:36 PM

Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--

| 6 5 6
Baroda, 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 :)

Vale Trood
on 9/29/15, 11:55 AM

Your Welcome !!! @ Drees Far.

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

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: 9/28/15, 6:20 AM
Seen: 928 times
Last updated: 9/29/15, 11:55 AM