[19.0][MIG] report_substitute: Migration to 19.0 - #1186
Open
domenicostragapede wants to merge 42 commits into
Open
[19.0][MIG] report_substitute: Migration to 19.0#1186domenicostragapede wants to merge 42 commits into
domenicostragapede wants to merge 42 commits into
Conversation
This addon give the possibility to substitute a report action by another based on some criteria.
Currently translated at 100.0% (21 of 21 strings) Translation: reporting-engine-16.0/reporting-engine-16.0-report_substitute Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_substitute/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-17.0/reporting-engine-17.0-report_substitute Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-report_substitute/
Currently translated at 100.0% (19 of 19 strings) Translation: reporting-engine-17.0/reporting-engine-17.0-report_substitute Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-report_substitute/it/
…ect report handler When the report type differs between the original report and the substitution, the substitution_handler must return the handler corresponding to the substitution report type Failing to do so may cause issues, as the report action would be executed using a handler from a different report type, leading to unexpected behavior or errors
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-18.0/reporting-engine-18.0-report_substitute Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_substitute/
domenicostragapede
force-pushed
the
19.0-mig-report_substitute
branch
from
August 5, 2026 13:52
5dbcd4c to
86f382b
Compare
20 tasks
FrancescoBellingeri
approved these changes
Aug 5, 2026
tonymasci-rap
approved these changes
Aug 5, 2026
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.
report_substitute - Migration to 19.0
Summary
Migration of the
report_substitutemodule from Odoo 18.0 to 19.0.Changes
__manifest__.py18.0.1.0.0to19.0.1.0.0.models/mail_thread.pymessage_post_with_sourcecall to the new Odoo 19.0 API: positional arguments (render_values,message_type,subtype_xmlid,subtype_id) are now passed as keyword arguments.static/src/js/action_manager.esm.jsvarwithletforactive_idsdeclaration (ES6 modernization).tests/test_report_substitute.py@tagged("post_install", "-at_install")decorator to ensure demo data is loaded before tests run.setUptosetUpClass(classmethod) following Odoo 19.0 test conventions.setUpClassinstead of usingenv.ref()to load demo XML data, ensuring tests work reliably in all environments.README.rst&static/description/index.html18.0to19.0(GitHub, Weblate, Runboat badges and URLs).Related to #1070