Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5720 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
2
sty 25
9639
2
paź 22
6284
1
mar 15
10807
1
mar 15
4598
1
lis 17
8493