Zada1100
Zada1100

Reputation: 41

Odoo 8 Qweb report header won't hide

I don't want the automatic header and footer to appear on my pdf reports and they always appear no matter what I do. I removed them on the settings and they are still there. I can make them disappear on the html report but on the pdf the header is always there. But for the footer I succeeded to make it disappear by declaring a custom footer <div class="footer"/> but <div class="header"/> doesn't work to hide the header. I tried by setting the header invisible with css but on the pdf the header is still there. Can someone help me please?

Upvotes: 0

Views: 2258

Answers (2)

If you have used <t t-call="report.external_layout"> then remove it.

So, Headers and Footers are not appear in report but if you want to set paper layout for setup top/bottom margin then you can set-up from Settings >> Technical >> Reports >> Paper Format

Hope this helps.

Upvotes: 2

user5842949
user5842949

Reputation:

you need to delete that line.

div class="header

after delete that header tab, from report it will be removed.

Upvotes: 0

Related Questions