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 do you print page numbers?

Jeff Beidler
on 11/3/14, 1:33 PM 1,514 views

I haven't done any modifications to the default footer yet, so it should print out page X of Y, right?  This is the code that is generated currently:

<ul class="list-inline" data-oe-id="182" data-oe-model="ir.ui.view" data-oe-field="arch" data-oe-xpath="/t[1]/div[1]/div[1]/ul[2]"> <li>Page:</li> <li><span class="page"></span></li> <li>/</li> <li><span class="topage"></span></li> </ul>

Why are the "page" and "topage" span classes not printing any values?  I would like to move the page numbers up to the top of the page.  Is there a field that should hold the value?


Ben Bernard

--Ben Bernard--
| 4 3 6
Jakarta, Indonesia
--Ben Bernard--
Ben Bernard
On 11/3/14, 11:08 PM

No, page number in report (QWeb) is generated by javascript. And sometimes wkhtmltopdf doesn't render the javascript corectly.

So . . . no way to add page numbers if using QWeb?

Jeff Beidler
on 11/4/14, 4:28 PM

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: 11/3/14, 1:33 PM
Seen: 1514 times
Last updated: 3/16/15, 8:10 AM