Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5590 มุมมอง

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,


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to know the model in QWEB? แก้ไขแล้ว
2
มี.ค. 24
11857
3
ก.ค. 20
24475
0
พ.ค. 19
5184
Why doesn't this below code work? แก้ไขแล้ว
1
เม.ย. 19
4004
1
มี.ค. 19
11114