Merge PR #1704 into 12.0

Signed-off-by dreispt
pull/1848/head
OCA-git-bot 2021-03-09 12:28:16 +00:00
commit 20398b1d96
1 changed files with 1 additions and 1 deletions

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]);
});
},