Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.0][MIG] repair #2721

Merged
merged 1 commit into from
May 25, 2021
Merged

[13.0][MIG] repair #2721

merged 1 commit into from
May 25, 2021

Conversation

victoralmau
Copy link
Member

Migration to 13.0.

@Tecnativa TT27870

Copy link
Contributor

@MiquelRForgeFlow MiquelRForgeFlow left a comment

Choose a reason for hiding this comment

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

Needs post-migration file with:

    openupgrade.load_data(
        env.cr, "repair", "migrations/13.0.1.0/noupdate_changes.xml")

@victoralmau
Copy link
Member Author

Thanks @pedrobaeza , changes done.

@victoralmau victoralmau force-pushed the 13.0-mig-repair branch 2 times, most recently from 53c623d to ededd14 Compare May 19, 2021 06:35
Copy link

@kos94ok-3D kos94ok-3D left a comment

Choose a reason for hiding this comment

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

I think you mistook

addons/repair/migrations/13.0.1.0/post-migration.py Outdated Show resolved Hide resolved
addons/repair/migrations/13.0.1.0/post-migration.py Outdated Show resolved Hide resolved
addons/repair/migrations/13.0.1.0/post-migration.py Outdated Show resolved Hide resolved
@victoralmau victoralmau force-pushed the 13.0-mig-repair branch 3 times, most recently from f380d6e to aff700d Compare May 19, 2021 08:35
@kos94ok-3D
Copy link

kos94ok-3D commented May 19, 2021

@victoralmau I do not understand you mistook or do not understand that this commit:f380d6e is correct and this one is useless (why need to update legacy name) aff700d

@victoralmau
Copy link
Member Author

@victoralmau I do not understand you mistook or do not understand that this commit:f380d6e is correct and this one is useless (why need to update legacy name) aff700d

My last changes are necessary to prevent error in github action called "Test OpenUpgrade migration / test (pull_request)"

@victoralmau victoralmau force-pushed the 13.0-mig-repair branch 2 times, most recently from f36d32a to 856bb7f Compare May 20, 2021 08:38
@victoralmau
Copy link
Member Author

Thanks @kos94ok-3D and @MiquelRForgeFlow changes done.

@MiquelRForgeFlow
Copy link
Contributor

Poor @victoralmau 😂

@pedrobaeza
Copy link
Member

pedrobaeza commented May 21, 2021

Well, it's a mix of bad interpretations + incorrect reviews. The history is:

  • Here I say to not create the columns manually and fill them on post: [13.0][MIG] repair #2721 (comment)
  • But he moves entire thing, including rename_columns, to post.
  • @kos94ok-3D told incorrectly to change to copy_columns.
  • @MiquelRForgeFlow told to move it to pre, but not commenting about the incorrect copy.
  • The correct combination is pre + rename.

So please all take more attention for not having all these rounds.

@victoralmau victoralmau force-pushed the 13.0-mig-repair branch 2 times, most recently from cb24500 to dd38f24 Compare May 24, 2021 07:00
@victoralmau
Copy link
Member Author

Thanks @pedrobaeza changes done.

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

Please double check changes

addons/repair/migrations/13.0.1.0/post-migration.py Outdated Show resolved Hide resolved
@pedrobaeza pedrobaeza merged commit 13551c7 into OCA:13.0 May 25, 2021
@pedrobaeza pedrobaeza deleted the 13.0-mig-repair branch May 25, 2021 16:23
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.

4 participants