summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/web/static/src/js/widgets/translation_dialog.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web/static/src/js/widgets/translation_dialog.js b/addons/web/static/src/js/widgets/translation_dialog.js
index 434b7ebcffe..efdba7b3a38 100644
--- a/addons/web/static/src/js/widgets/translation_dialog.js
+++ b/addons/web/static/src/js/widgets/translation_dialog.js
@@ -64,6 +64,9 @@ odoo.define('web.TranslationDialog', function (require) {
]).then(() => {
this.data = this.translations.map((term) => {
let relatedLanguage = this.languages.find((language) => language[0] === term.lang);
+ if (!term.value && !this.showSrc) {
+ term.value = term.src;
+ }
return {
id: term.id,
lang: term.lang,