mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[12.0][FIX] web_translate_dialog dataset context not always filled from searchview
This commit is contained in:
@@ -51,7 +51,7 @@ var TranslateDialog = Dialog.extend({
|
||||
this.languages = null;
|
||||
this.languages_loaded = $.Deferred();
|
||||
this.lang_data = new data.DataSetSearch(
|
||||
this, 'res.lang', parent.searchView.dataset.get_context(),
|
||||
this, 'res.lang', parent.context,
|
||||
[['translatable', '=', '1']]
|
||||
);
|
||||
this.lang_data.set_sort(['tr_sequence asc','id asc']);
|
||||
|
||||
Reference in New Issue
Block a user