Skip to content

Commit

Permalink
Merge pull request OCA#4413 from coopiteasy/16.0-ou_fix-ir_actions_in…
Browse files Browse the repository at this point in the history
…herited_help_field_translation

[16.0][OU-FIX] fix translation of inherited help field
  • Loading branch information
pedrobaeza authored Apr 22, 2024
2 parents a14eaef + 2684089 commit da881f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openupgrade_scripts/scripts/base/16.0.1.3/pre-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ def login_or_registration_required_at_checkout(cr):
def update_translatable_fields(cr):
# exclude fields from translation update
exclusions = {
# ir.actions.* inherits the name column from ir.actions.actions
# ir.actions.* inherits the name and help columns from ir.actions.actions
"ir.actions.act_window": ["name", "help"],
"ir.actions.act_url": ["name"],
"ir.actions.server": ["name"],
"ir.actions.act_url": ["name", "help"],
"ir.actions.server": ["name", "help"],
"ir.actions.client": ["name", "help"],
"ir.actions.report": ["name"],
"ir.actions.report": ["name", "help"],
}
cr.execute(
"SELECT f.name, m.model FROM ir_model_fields f "
Expand Down

0 comments on commit da881f0

Please sign in to comment.