Source: https://www.odoo.com/documentation/16.0/fr/developer/tutorials/pdf_reports.html.pdf