Merge PR #2593 into 12.0

Signed-off-by yvaucher
This commit is contained in:
OCA-git-bot
2024-02-08 16:11:15 +00:00

View File

@@ -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']);