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

Following code can be used to print page number in header or footer of pdf report.


No. :


  • PAGE:




  • /





Is there a way to print to page number in body of pdf report?

形象
丢弃
最佳答案

Hi,


Try the following code in the layout template.


<div class="col-4 text-center" style="font-size: 10px;">

    <span>Page </span>

    <span class="page"/>/<span class="topage"/>

</div>


Reference:-

* https://www.cybrosys.com/blog/how-to-customize-header-footer-for-all-reports-in-odoo-17-erp


Hope it helps

形象
丢弃
最佳答案

file path : odoo/addons/web/views/report_templates.xml


template id = external_layout_striped


in you custom template

or 


you can add in your template footer example



形象
丢弃
相关帖文 回复 查看 活动
1
10月 25
208
1
8月 25
1074
1
4月 25
1979
1
7月 24
2353
1
5月 24
5202