mirror of https://github.com/OCA/web.git
[12.0][FIX] web_translate_dialog: on_button_translate load current record
parent
886bb8ea91
commit
a04ef49b2c
|
@ -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]);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue