콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
2746 화면

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
373
1
8월 25
1109
1
4월 25
2006
1
7월 24
2376
1
5월 24
5251