Upgraded from v9 to v11 and downloading reports programmatically is deprecated
We've upgraded from v9 to v11 of odoo. I had originally written a script that could download my reports automatically, but this seems to have been deprecated in the latest version of odoo.
The code here doesn't make much sense to me: https://www.odoo.com/documentation/11.0/reference/reports.html#custom-reports
from odoo import api, modelsreport_obj = self.env['report']
What is self.env['report'] referring to?
How can I go about downloading my reports programmatically? I can access them via: http://<server-address>/report/pdf/sale.report_saleorder/ so am I going to have to create some sort of web scraper?