Skip to content

[20.0][MIG] report_xlsx: Migration to 20.0 - #4

Merged
alan196 merged 110 commits into
Jarsa:20.0from
Jarsa-dev:20.0-mig-report_xlsx
Oct 10, 2026
Merged

alan196 merged 110 commits into
Jarsa:20.0from
Jarsa-dev:20.0-mig-report_xlsx

Conversation

@alan196

@alan196 alan196 commented Oct 10, 2026

Copy link
Copy Markdown

Mirror of the upstream migration OCA#1203 (CI green) so the Jarsa 20.0 branch can be consumed by client repos while OCA merges it.

Validated locally on Odoo 20.0: install with demo data and run the module tests (--test-tags /report_xlsx): 0 failed, 0 errors.

🤖 Generated with Claude Code

Adrien Peiffer (ACSONE) and others added 30 commits September 28, 2026 14:23
…s to print to the 'create_xlsx_report' method + Instanciate the parser and make it available for the 'generate_xlsx_report' method
* 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/
mymage and others added 25 commits September 28, 2026 14:23
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/
Currently translated at 100.0% (8 of 8 strings)

Translation: reporting-engine-19.0/reporting-engine-19.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-19-0/reporting-engine-19-0-report_xlsx/da/
- odoo.http is now a package: import content_disposition from
  odoo.http.stream and serialize_exception from odoo.http.dispatcher.
- ir.actions.report no longer has a report_file field: removed from
  the demo data, the tests and the usage example.

Assisted-by: Claude Opus 5.5
@jarsabot

Copy link
Copy Markdown
    **WARNING**: Could not link to Odoo task. Record ID not found in the title of the MR, supported formats:
{ record type }#{ number }

Available types: 'task#', 't#' (case insensitive)

Examples:

  • task#123

  • i#123

@codecov-commenter

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@alan196
alan196 merged commit b07289a into Jarsa:20.0 Oct 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.