mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[12.0][FIX] web_translate_dialog: on_button_translate load current record
This commit is contained in:
@@ -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]);
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user