Skip to content

[16.0][OU-FIX] base: migrate translations for ir_actions objects - #6108

Open
sergiocorato wants to merge 1 commit into
OCA:16.0from
efatto:16.0-fix-base-translate-ir_actions-objects
Open

sergiocorato wants to merge 1 commit into
OCA:16.0from
efatto:16.0-fix-base-translate-ir_actions-objects

Conversation

@sergiocorato

@sergiocorato sergiocorato commented Nov 18, 2026 •

Copy link
Copy Markdown

Translations of ir.actions.* are lost during migration.
This PR fix this.

Assisted-by: pi.dev/deepseek-v4.1-flash

@OCA-git-bot OCA-git-bot added mod:openupgrade_scripts Module openupgrade_scripts series:16.0 labels Nov 18, 2026
@sergiocorato
sergiocorato force-pushed the 16.0-fix-base-translate-ir_actions-objects branch 5 times, most recently from b29a6f5 to 3ce0d6b Compare November 20, 2026 15:03
The name of ir.actions.* inherits its column from ir.actions.actions: when
it becomes translated (jsonb) at 16.0 the ORM converts the inherited
copies together with it and keeps only the en_US value. The generic
pre-migration excludes these fields, so merge their ir_translation
records in the base post-migration, once the columns are jsonb and the
source table is still available. This cannot be done in an end-migration
script, because those run after the OpenUpgrade migration tests.

Assisted-by: pi.dev/deepseek-v4.1-flash
@sergiocorato
sergiocorato force-pushed the 16.0-fix-base-translate-ir_actions-objects branch from 3ce0d6b to 828ad13 Compare November 20, 2026 15:03
@sergiocorato
sergiocorato marked this pull request as ready for review November 20, 2026 15:04
@rrebollo

Copy link
Copy Markdown

I can review this in exchange for a review of #6113 (18.0 product defaults migration). Would that work?

@sergiocorato

Copy link
Copy Markdown
Author

I can review this in exchange for a review of #6113 (18.0 product defaults migration). Would that work?

Sure, done!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:openupgrade_scripts Module openupgrade_scripts series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants