Hi, I went inside the code and I found that :
1) I found where is called and header and footer and called through parameters --header-html and --footer-html
2) I got a warning message in odoo.log (_logger.warning('wkhtmltopdf: %s' % err) in the python source) :
The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored.QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-odoo'
the message is quite clear :
parameter --header-html is ignored,
so it is "normal" that I have no header in my pdf file
after that, I also got an issue about the wkhtmltopdf version, so I post the complete solution there : [[https://www.odoo.com/fr_FR/forum/aide-1/wkhtmltopdf-failed-error-code-6-message-the-switch-header-spacing-is-not-support-using-unpatched-qt-error-when-sending-mail-99853]]
If you still have the problem, I can try to help you for free. contact me on skype (live:akhilpsivan)
Playing with QWEB reports:
1- http://learnopenerp.blogspot.com/2018/10/how-to-add-custom-header-and-footer-in-qweb-reports-in-odoo.html
2- http://learnopenerp.blogspot.com/2018/09/how-to-link-custom-paper-format-in-qweb-reports-in-odoo.html
3- http://learnopenerp.blogspot.com/2017/11/how-to-add-page-number-in-qweb-reports.html
Missing report.url causing the problem ? add report.url in the system parameters and see.
link: https://www.youtube.com/watch?v=lC9p_QJUW1Q&t=32s