Repository navigation
Conversation
dnplkndll
force-pushed
the
20.0-mig-upgrade_analysis
branch
from
September 28, 2026 17:50
292aa0c to
7318d9f
Compare
… 13.0) to OCA/server-tools Based on commit 746b7acbd90d62f9ffe6ee17472a1a3533e36597 (Fri Nov 6 17:18:47 2020 +0100) Co-authored-by: Stefan Rijnhart <stefan@opener.am>
… make the module installable, add readme folders
…y to select some modules, and improve filters, regarding test module with startswith and endswith pattern
Co-authored-by: Stefan Rijnhart <stefan@opener.am>
… (replaced by logger), apply pre-commit rules
…using upgrade-path
[IMP] guess upgrade_path, if config is not set, and openupgrade_scripts is available
Co-authored-by: David Beal <david.beal@akretion.com>
Given that the records need to be managed in the modules that own them rather in the modules that override them, and that we also have the noupdate data xml for every module, then we left out the lines that where indicating the override of records.
Includes minor fixes.
Just in case.
Due to OCA#2057, noupdate data now considers merged modules. But the fix was incomplete, as the diff files between merged modules and local_module were rewritting already generated diff between original remote_module and local_module.
Currently translated at 4.6% (4 of 86 strings) Translation: server-tools-14.0/server-tools-14.0-upgrade_analysis Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-upgrade_analysis/fr/
Currently translated at 100.0% (90 of 90 strings) Translation: server-tools-18.0/server-tools-18.0-upgrade_analysis Translate-URL: https://translation.odoo-community.org/projects/server-tools-18-0/server-tools-18-0-upgrade_analysis/it/
FIX: OCA#3215. Rational : 'mapped' function has been privatized in odoo/odoo@a1adf83. We so replace 'mapped' by 'search_read'
Fix Uncaught Promise > View types not defined tree found in act_window action undefined.
and remove spaces for comparison
Before this patch, sometimes analysis files were created for the modules doesnt' contain any "change". Let's avoid that. Besides other minor fixes, this patch improves the coverage file: No more "No DB layout changes" message on modules that contain the `noupdate_changes.xml` file.
for discarded field values
…falsy value When the previous version set a field explicitly and the new version omits it, _get_xml_diff generated eval="False" using field.falsy_value. This is wrong for fields whose default is truthy (e.g. ir.rule.perm_read/write/create/unlink or active): a fresh install applies the field's default, not its falsy value. The generated noupdate_changes.xml then mismatched a clean install and could even violate model constraints (e.g. ir.rule's _no_access_rights CHECK), breaking the migration. Use model.default_get() to reset omitted fields to the value a fresh install would give them, falling back to falsy_value when there is no default or it is not a scalar.
…update records When a noupdate record is moved to another module, its previous definition may set a field declared in a module the new one doesn't depend on (e.g. a module that depends on it). That field is still managed by its own module, so skip it instead of resetting it to its default in the new module's noupdate_changes.xml.
…anged When a noupdate field set in the previous version is dropped in the current one, only write the reset to noupdate_changes.xml if the value a fresh install would give the field actually differs from the previous value. Otherwise the (noupdate) record already holds the right value and the entry is a no-op.
Signed-off-by: Don Kendall <dkendall@ledoweb.com> Assisted-by: Claude Opus 5
dnplkndll
force-pushed
the
20.0-mig-upgrade_analysis
branch
from
September 28, 2026 18:04
7318d9f to
e897eb2
Compare
* _reflect_model is _reflect_table_object, and returns its data_list now. * mrp's _pre_init_mrp patch dropped; 20.0 declares no such hook. * ir.model.access.csv -> ir.access.csv, via odoo-bin upgrade_code. * config.version is not a float on packaged builds; routed through a helper. Signed-off-by: Don Kendall <dkendall@ledoweb.com> Assisted-by: Claude Opus 5
dnplkndll
force-pushed
the
20.0-mig-upgrade_analysis
branch
from
September 28, 2026 18:38
e897eb2 to
ead1b90
Compare
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.
Port of
upgrade_analysisfrom19.0to20.0. Follows the OCA migration guide.AI-assisted (Claude Code); every change reviewed, tested, and owned by the author.