Skip to content

[18.0][FIX] don't set install_filename when loading views from openupgrade_scripts#5445

Merged
OCA-git-bot merged 1 commit into
OCA:18.0from
hbrunn:18.0-openupgrade_framework-install_filename
Nov 7, 2025
Merged

[18.0][FIX] don't set install_filename when loading views from openupgrade_scripts#5445
OCA-git-bot merged 1 commit into
OCA:18.0from
hbrunn:18.0-openupgrade_framework-install_filename

Conversation

@hbrunn

@hbrunn hbrunn commented Nov 7, 2025

Copy link
Copy Markdown
Member

Remove install_filename from context if it's from openupgrade_scripts.
Without this, arch_fs will point to openupgrade_scripts' file which most likely
won't exist when the migrated database is deployed, which breaks resetting views

see #5437

@remi-filament please verify this fixes your issue for v18, and then cherry pick to v17 without the test

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @StefanRijnhart, @legalsylvain,
some modules you are maintaining are being modified, check this out!

@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.

Thanks !

makes sense.

/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-5445-by-legalsylvain-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 6fc1656 into OCA:18.0 Nov 7, 2025
4 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@pedrobaeza pedrobaeza added this to the 18.0 milestone Nov 7, 2025
@pedrobaeza

Copy link
Copy Markdown
Member

Isn't this something to do also on 17.0?

@hbrunn

hbrunn commented Nov 7, 2025

Copy link
Copy Markdown
Member Author

yes, probably even older ones

@lorenzomorandini

Copy link
Copy Markdown

Hi @hbrunn can this be merged into 17.0 too please? Currently trying to upgrade 16->17->18 and 18 can not start because of this problem.

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.

7 participants