Commit Graph

10 Commits

Author SHA1 Message Date
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
Alex Cuellar
200fe0d15b [IMP] : black, isort, prettier 2022-11-30 12:46:45 +01:00
OCA-git-bot
720b1f02f4 pre-commit update 2022-11-30 12:46:45 +01:00
Joan Sisquella
fc887ceb8e [FIX] report_xlsx: js 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
Cristian Salamea
68767c3fa8 [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
2022-11-30 12:46:45 +01:00
Graeme Gellatly
095c321a3d Fix report_xlsx for printing from wizards 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