Skip to content
Snippets Groups Projects
Commit 1ed5ce6f authored by Chong Wang (cwg)'s avatar Chong Wang (cwg)
Browse files

[FIX] core: fix translation dialog


The fix in #106174 was not good.
The translation dialog cannot update not translated terms

the initial term value may be empty "" when the source and the translation are
the same at first. So, the source to for update_field_translations should be
  const source = term.value ? term.value : term.source;

closes odoo/odoo#106360

Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
parent 0d829b41
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment