Skip to content

Commit

Permalink
[OU-FIX] fix translation of inherited help field
Browse files Browse the repository at this point in the history
exclude help field for all models that inherit from ir.actions.
  • Loading branch information
huguesdk committed Apr 22, 2024
1 parent a14eaef commit 2684089
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 2684089

Please sign in to comment.