Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5837 Näkymät

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?

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
tammik. 25
9810
2
lokak. 22
6494
1
maalisk. 15
10914
1
maalisk. 15
4715
1
marrask. 17
8651