Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
2760 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
out. 25
401
1
ago. 25
1122
1
abr. 25
2021
1
jul. 24
2394
1
mai. 24
5265