Getting ready

In case you haven't done it till now, install wkhtmltopdf as described in Chapter 1, Installing the Odoo Development Environmentotherwise you won't get shiny PDFs as a result of your efforts.

Also, double-check that the configuration parameter—web.base.url (or alternatively, report.url)—is a URL accessible from your Odoo instance, otherwise report generation takes ages and the result looks funny.