JayVora-SerpentCS / Jasperreports_odoo

Jasper Reports Engine for Odoo
http://www.serpentcs.com
81 stars 140 forks source link

[15.0] Wrong parameters on report_download #147

Open agustin-eticco opened 1 year ago

agustin-eticco commented 1 year ago

report_download function is badly migrated, in the base version of Odoo 15 there is no token parameter, it gives an error with unexpected extra parameter when printing any kind of standard qweb report. I have to manually remove token parameter (and its implementation inside the function)

Jasperreports report_download: https://github.com/JayVora-SerpentCS/Jasperreports_odoo/blob/15.0/jasper_reports/controllers/main.py#L82

Odoo 15 base report_download: https://github.com/odoo/odoo/blob/15.0/addons/web/controllers/main.py#L1976