-
-
Notifications
You must be signed in to change notification settings - Fork 807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][MIG] report_xlsx: Migration to 16.0 #690
Conversation
…s to print to the 'create_xlsx_report' method + Instanciate the parser and make it available for the 'generate_xlsx_report' method
…A#98) * Allow to define options for workbook creation
* 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
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Currently translated at 88.2% (15 of 17 strings) Translation: reporting-engine-12.0/reporting-engine-12.0-report_xlsx Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xlsx/de/
Currently translated at 94.4% (17 of 18 strings) Translation: reporting-engine-12.0/reporting-engine-12.0-report_xlsx Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xlsx/pt/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-13.0/reporting-engine-13.0-report_xlsx Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_xlsx/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-13.0/reporting-engine-13.0-report_xlsx Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_xlsx/
e85c6f1
to
ca1d627
Compare
@pedrobaeza Hi Pedro, can you merge this PR please? |
/ocabot migration report_xlsx |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 3d36d80. Thanks a lot for contributing to OCA. ❤️ |
I think we have a mistake here: in v16, the proto of report_download has changed it is now report_download(self, data, context=None, token=None) https://github.com/odoo/odoo/blob/16.0/addons/web/controllers/report.py#L90 In report_xlsx, the proto is still report_download(self, data, context=None) |
Here is the kind of warning that you get due to this:
|
Can you please fix it or @RodrigoBM? |
ok, I'll try to find time to make a PR |
PR here: #699 |
pr alternative to the original pr #654
Add this comment #654 (review)
cc: @baimont @maq-adhoc @JoanSForgeFlow