Skip to Content
Menú
This question has been flagged
1 Respondre
5614 Vistes

Hii,

I have a custom report in QWeb. It shows header, footer and page number at the footer on all pages.

On the first page we need not to show page number, and page number should start from page 2. 

But we need header and footer on first page as well. Odoo 12.

How to get it?

Thanks,


Avatar
Descartar
Best Answer

Hi, you can use this code


<!--FOOTER -->
<div class="footer">

<div class="not-first-page">

<div class="row">
<div class="col-xs-6; text-center">
Page
<span class="page"/>
of
<span class="topage"/>
</div>
</div>

</div>

</div>
you must install 'report_qweb_element_page_visibility' in this repository
 \https://github.com/OCA/reporting-engine/tree/10.0/report_qweb_element_page_visibility
Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de març 24
11863
3
de jul. 20
24494
0
de maig 19
5187
1
d’abr. 19
4005
1
de març 19
11125