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

[FIX] web: fix translation dialog for model terms


Before this commit, new model term translations cannot be saved if it has been
translated before.
The reason is while translating fr_FR
the backend needs the mapping {old_term_fr: new_term_fr} to update old_value_fr
However the UI sent {old_term_en: new_term_fr} which was wrong

This commit fixes the bug by changing the key of the mapping from the
old_term_en to the old_term_fr

opw-3074712

closes odoo/odoo#106174

Signed-off-by: default avatarSamuel Degueldre <sad@odoo.com>
parent d9a47551
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment