Merge PR #1704 into 12.0

Signed-off-by dreispt
This commit is contained in:
OCA-git-bot
2021-03-09 12:28:16 +00:00

View File

@@ -248,7 +248,7 @@ FormController.include({
on_button_translate: function() {
var self = this;
$.when(this.has_been_loaded).then(function() {
self.open_translate_dialog(null, self.initialState.res_id);
self.open_translate_dialog(null, self.getSelectedIds()[0]);
});
},