Commit Graph

13 Commits (03db79451dc18f9ffa1d2b0f5ee44643aa962372)

Author SHA1 Message Date
Alexis de Lattre c1955e26c5 [FIX] report_xlsx: add token in report_download() controller 2022-12-14 13:10:59 +00:00
Rodrigo ca1d627614 [MIG] Migrate report_xlsx to 16.0 2022-12-02 18:10:05 +01:00
Jasmin Solanki ebf9ce74be [FIX] report_xlsx: Fix dynamic report download 2022-11-30 12:46:46 +01:00
Mihran Thalhath 867a989be6 [FIX] report_xlsx: fix generation of pdf reports
the report handler for xlsx added over here is always returning `true` even if the report being
generated is not xlsx. Due to this, the report handler doesn't check for other report types
at b309d3a99f/addons/web/static/src/webclient/actions/action_service.js (L1019)
and thus doesn't generate any other reports. So if the converter is not xlsx, return false instead of true.

Also, updating the docids and context in the report_routes controller only needs to be done if
the converter is xlsx and not in any other case.
2022-11-30 12:46:46 +01:00
Christopher Ormaza 087cfe0021 [FIX] report_xlsx: refactor controller and report hamdler 2022-11-30 12:46:46 +01:00
Joan Mateu Jordi aec96ed82c [MIG] report_xlsx: Migration to 15.0 2022-11-30 12:46:46 +01:00
Eugene Molotov 07b735a27b [FIX] report_xlsx: correctly handle exceptions, when generating report
Before this commit, when exception is raised while generating report,
on browser window instead of python traceback nothing was shown
on production environment or werkzeug's "Console locked" message
on development environment.
2022-11-30 12:46:45 +01:00
Saran440 472d937b9a [FIX] safe_eval object time 2022-11-30 12:46:45 +01:00
Alex Cuellar 32b35467f7 [MIG] report_xlsx: Migration to 14.0 2022-11-30 12:46:45 +01:00
Rod Schouteden 54f46f6a89 [MIG][IMP][13.0] rebase to include new linters 2022-11-30 12:46:45 +01:00
Kitti U b43522bb1a [12.0][IMP] report_xlsx, make sure print_report_name works 2022-11-30 12:46:45 +01:00
Naglis Jonaitis 98018a2cf7 [IMP] report_fillpdf, report_xlsx, report_xml: Use content_disposition helper 2022-11-30 12:46:45 +01:00
Enric Tobella 30337adcac [MIG] report_xlsx: Migration to 11.0 2022-11-30 12:46:45 +01:00