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

This commit is contained in:
Telmo Santos
2020-10-14 09:07:46 +02:00
parent 886bb8ea91
commit a04ef49b2c

View File

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