Syncing from upstream OCA/reporting-engine (19.0) - #868
Merged
Conversation
…s to print to the 'create_xlsx_report' method + Instanciate the parser and make it available for the 'generate_xlsx_report' method
* 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/
This implements behavior expected when configuring "Save as Attachment Prefix" within xlsx reports.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-16.0/reporting-engine-16.0-report_xlsx Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_xlsx/
Currently translated at 100.0% (7 of 7 strings) Translation: reporting-engine-17.0/reporting-engine-17.0-report_xlsx Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-report_xlsx/it/
Currently translated at 100.0% (7 of 7 strings) Translation: reporting-engine-17.0/reporting-engine-17.0-report_xlsx Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-report_xlsx/sv/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-18.0/reporting-engine-18.0-report_xlsx Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_xlsx/
* report_py3o, report_xlsx, report_xml odoo core introduced an additional argument in [1] to the method inherited by report_py3o, report_xlsx, report_xml. When the same method is inherited in other addons, it raises a "TypeError: ... takes X positional arguments but Y were given" due to a mismatch in the argument count. This commit updates the mentioned method signature to match the latest odoo core definition, ensuring compatibility and preventing runtime errors when multiple addons override the same function. No functional changes are introduced. Only method signatures have been synchronized with upstream Odoo
Currently translated at 85.7% (6 of 7 strings) Translation: reporting-engine-18.0/reporting-engine-18.0-report_xlsx Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_xlsx/tr/
Currently translated at 100.0% (7 of 7 strings) Translation: reporting-engine-18.0/reporting-engine-18.0-report_xlsx Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_xlsx/tr/
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 19.0 #868 +/- ##
==========================================
- Coverage 78.78% 70.75% -8.04%
==========================================
Files 10 20 +10
Lines 165 383 +218
Branches 11 33 +22
==========================================
+ Hits 130 271 +141
- Misses 25 98 +73
- Partials 10 14 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bt_gitbot