Modifying the internal report header using QWeb

From the options we have seen so far, it is clear that while we can create a custom footer, we must do something else in order to change the header for our reports. To make this change, we must edit the actual QWeb source that makes up the header of the report.

Let's look at the QWeb for the company header by returning to the General Settings and clicking the link Edit Header. The following is a screenshot of the QWeb used for the external report header:

Here, we can see the actual Qweb code that displays the report header in HTML, which is then converted into a PDF report. As was mentioned earlier ...

Get Working with Odoo 11 - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.