Skip to Content
मेन्यू
This question has been flagged
2 Replies
2889 Views

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?

Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

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



Avatar
Discard
Related Posts Replies Views Activity
1
अक्तू॰ 25
582
1
अग॰ 25
1240
1
अप्रैल 25
2089
1
जुल॰ 24
2481
1
मई 24
5419