Commit Graph

16 Commits (8e9d9a74d19421c9f389c3d752d0edd7c18eb7cd)

Author SHA1 Message Date
tien-ld 8e9d9a74d1 [MIG] report_xlsx: Migration to 17.0 2023-11-22 22:54:58 +07:00
tien-ld 2381d65fb1 [IMP] report_xlsx: pre-commit auto fixes 2023-11-22 22:48:09 +07:00
Anna Janiszewska bd768bbdd3 [FIX] report_xlsx: initialize reportname 2023-11-22 22:41:43 +07:00
Alexis de Lattre 46a8800bd6 [FIX] report_xlsx: add token in report_download() controller 2023-11-22 22:41:43 +07:00
Rodrigo bc43cc47be [MIG] Migrate report_xlsx to 16.0 2023-11-22 22:41:43 +07:00
Jasmin Solanki 4056d12eac [FIX] report_xlsx: Fix dynamic report download 2023-11-22 22:41:43 +07:00
Mihran Thalhath 137e42d1f9 [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.
2023-11-22 22:41:43 +07:00
Christopher Ormaza 7eea563302 [FIX] report_xlsx: refactor controller and report hamdler 2023-11-22 22:41:42 +07:00
Joan Mateu Jordi 5bf16ce8b2 [MIG] report_xlsx: Migration to 15.0 2023-11-22 22:41:42 +07:00
Eugene Molotov 87701e0fd6 [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.
2023-11-22 22:41:42 +07:00
Saran440 16f303ec96 [FIX] safe_eval object time 2023-11-22 22:41:42 +07:00
Alex Cuellar db23788466 [MIG] report_xlsx: Migration to 14.0 2023-11-22 22:41:41 +07:00
Rod Schouteden 4450730767 [MIG][IMP][13.0] rebase to include new linters 2023-11-22 22:41:41 +07:00
Kitti U dee28bbdeb [12.0][IMP] report_xlsx, make sure print_report_name works 2023-11-22 22:41:41 +07:00
Naglis Jonaitis c3f06cb1e7 [IMP] report_fillpdf, report_xlsx, report_xml: Use content_disposition helper 2023-11-22 22:41:40 +07:00
Enric Tobella b1ec5b53b5 [MIG] report_xlsx: Migration to 11.0 2023-11-22 22:41:40 +07:00