Get default value from name2translations when updating model translations

Closes #13669
This commit is contained in:
Cédric Krier
2024-11-12 00:02:58 +01:00
parent 77d2d29447
commit d99d001dfe
+1 -1
View File
@@ -480,7 +480,7 @@ class Translation(
to_save, to_delete = [], []
for record, value in zip(records, values):
translations = name2translations.get(get_name(record))
translations = name2translations[get_name(record)]
if lang == INTERNAL_LANG:
src = value
else: