O'Reilly logo

Working with Odoo by Greg Moss

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Modifying the RML header

Odoo exposes the report template within the company settings because this will be one of the most frequent changes a company will require. There are three template segments that you can modify:

  • The templates for documents that will typically be seen externally
  • The template for documents and reports that will typically be distributed internally
  • The template used for landscape documents

The header and footer information are all within the same text box. The header and footer sections are commented within the code so that you know where each section begins and ends.

The RML for the company header

Let's look at the RML for the company header. The following is a screenshot of the RML used for the company header:

Take special notice ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required