Skip to content

[18.0][MIG] upgrade_analysis: Migration to v18 - #3108

Merged
OCA-git-bot merged 75 commits into
OCA:18.0from
Tecnativa:18.0-mig-upgrade_analysis
Nov 5, 2024
Merged

[18.0][MIG] upgrade_analysis: Migration to v18#3108
OCA-git-bot merged 75 commits into
OCA:18.0from
Tecnativa:18.0-mig-upgrade_analysis

Conversation

@sergio-teruel

Copy link
Copy Markdown
Contributor

legalsylvain and others added 30 commits November 4, 2024 22:06
… 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
[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.

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review + see the result

You may squash a bit administrative commits.

@legalsylvain legalsylvain left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quick diff review. LGTM. thanks for porting this module !

oca-ci and others added 17 commits November 5, 2024 16:30
…ted fields

Odoo 14 introduced the widescale usage of computed fields with readonly=False.
In that case, the compute method functions as a default that can also be used
to compute a value some time *after* the initial creation of the record.

In the OpenUpgrade analysis files, these fields would be misrepresented as
computed fields rather than fields with a default function. This change fixes
that.
Check "module" is in context when patching init_models
The colspan property of some UI elements were not correctly adjusted to
the v16 sytem.

This commits fixes it.
Odoo has deprecated such modules with a pre-hook raising an error, so
they are not installable anymore.

This way, we avoid them to be included in the Install Modules Wizard.
This allows to circumvent Odoo's complaint of

   'openupgrade_scripts/scripts/' is not a valid upgrade directory

when there are no analysis files present yet.
…ed RST file

to allow for very long module name
as odoo core was changed in a way that optimized away our logging
@sergio-teruel
sergio-teruel force-pushed the 18.0-mig-upgrade_analysis branch from cd4b150 to a172892 Compare November 5, 2024 15:31
@sergio-teruel

Copy link
Copy Markdown
Contributor Author

Squashed administrative commits!!

@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-3108-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 6be41a3 into OCA:18.0 Nov 5, 2024
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 197ddef. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza
pedrobaeza deleted the 18.0-mig-upgrade_analysis branch November 5, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.