Skip to content

[17.0][OU-ADD] account_edi: Migration to 17#4771

Merged
MiquelRForgeFlow merged 1 commit into
OCA:17.0from
Tecnativa:17.0-mig-account_edi
Feb 27, 2025
Merged

[17.0][OU-ADD] account_edi: Migration to 17#4771
MiquelRForgeFlow merged 1 commit into
OCA:17.0from
Tecnativa:17.0-mig-account_edi

Conversation

@carlos-lopez-tecnativa

Copy link
Copy Markdown
Contributor

@MiquelRForgeFlow MiquelRForgeFlow added this to the 17.0 milestone Feb 27, 2025
@MiquelRForgeFlow

Copy link
Copy Markdown
Contributor

/ocabot migration account_edi

@OCA-git-bot

Copy link
Copy Markdown
Contributor

The migration issue (#4124) has not been updated to reference the current pull request because a previous pull request (#4587) is not closed.
Perhaps you should check that there is no duplicate work.
CC @acpMicrocom

@MiquelRForgeFlow

MiquelRForgeFlow commented Feb 27, 2025

Copy link
Copy Markdown
Contributor

@carlos-lopez-tecnativa could you add the commit in #4587 before your commit? (this way, we can supersede that PR)

@carlos-lopez-tecnativa

carlos-lopez-tecnativa commented Feb 27, 2025

Copy link
Copy Markdown
Contributor Author

@MiquelRForgeFlow

Copy link
Copy Markdown
Contributor

Oh, right. The analysis file was updated in 9bde91f, and other PR is deprecated then.

@MiquelRForgeFlow

Copy link
Copy Markdown
Contributor

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 17.0-ocabot-merge-pr-4771-by-MiquelRForgeFlow-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Feb 27, 2025
Signed-off-by MiquelRForgeFlow
@MiquelRForgeFlow

Copy link
Copy Markdown
Contributor

/ocabot migration account_edi

@OCA-git-bot

Copy link
Copy Markdown
Contributor

@MiquelRForgeFlow your merge command was aborted due to failed check(s), which you can inspect on this commit of 17.0-ocabot-merge-pr-4771-by-MiquelRForgeFlow-bump-nobump.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@pedrobaeza

Copy link
Copy Markdown
Member

This is missing the deletion of the translations for the cron name loaded in noupdate.

@MiquelRForgeFlow

Copy link
Copy Markdown
Contributor

The "name" field of ir.cron model is not translatable.

@pedrobaeza

Copy link
Copy Markdown
Member

Uhm, that's not true...

imagen

@MiquelRForgeFlow

Copy link
Copy Markdown
Contributor

Ok, I see that it happens for ir.actions.actions. Then ir.action.server inherits from ir.actions.actions and ir.cron inherits from ir.action.server.

Selection_4351

@pedrobaeza

Copy link
Copy Markdown
Member

OK, but the end is the same: translations must be deleted for forcing the system on next language load to get the new terms. If not, you will see the name in English, and the rest of the languages will be with the old term.

@carlos-lopez-tecnativa there's an openupgradelib method for doing that delete_translations_....

@MiquelRForgeFlow

Copy link
Copy Markdown
Contributor

Done in #4783.

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