Merge PR #2593 into 12.0

Signed-off-by yvaucher
pull/2828/head
OCA-git-bot 2024-02-08 16:11:15 +00:00
commit 3118b27464
1 changed files with 1 additions and 1 deletions

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