跳至内容
菜单
此问题已终结
1 回复
5847 查看

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?

形象
丢弃
最佳答案

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?

相关帖文 回复 查看 活动
2
1月 25
9820
2
10月 22
6506
1
3月 15
10918
1
3月 15
4731
1
11月 17
8651