Commit Graph

10 Commits

Author SHA1 Message Date
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
Alex Cuellar
fa6326ee53 [IMP] : black, isort, prettier 2023-11-22 22:41:41 +07:00
OCA-git-bot
22e06579c0 pre-commit update 2023-11-22 22:41:41 +07:00
Joan Sisquella
8908995554 [FIX] report_xlsx: js 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
Cristian Salamea
1589c25a34 [MIG] report_xlsx: Migration to 12.0
* refactor: On new ActionManager override _makeReportUrls and triggerDownload to support XLSX format
* pass action to custom _downloadReportXLSX: Need action to get report data
* dict constructor to remove context lang
2023-11-22 22:41:40 +07:00
Graeme Gellatly
17fa60eb46 Fix report_xlsx for printing from wizards 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