[12.0][FIX] web_translate_dialog: on_button_translate load current record

pull/1704/head
Telmo Santos 2020-10-14 09:07:46 +02:00
parent 886bb8ea91
commit a04ef49b2c
1 changed files with 1 additions and 1 deletions

View File

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