Odoo Help


How do you print page numbers?

Jeff Beidler
on 11/3/14, 1:33 PM 2,288 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

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