Help

3

How to show page number on internal_layout qweb report?

Avatar
Muhammad Anees

Hii,

I have a custom qweb report for journal entries and using web.internal_layout. I want to show the page number somewhere in the top or bottom. How to show page number on internal reports?

Thanks

Avatar
Discard
1 Answer
2
Avatar
Muhammad Anees
Best Answer

This worked with me..

<t t-call="web.internal_layout">
<div class="page">
<!-- other code --->  
  <div class="footer text-center" style="margin:0px; padding:0px;font-size:12px;">    
    Page <span class="page"/>/<span class="topage"/>
  </div>
</div>
</t>
Avatar
Discard