[FIX] web: untranslated fields in widget domain
The user context was not propagated so the list of fields was untranslated.
This commit is contained in:
@@ -200,7 +200,8 @@ var ModelFieldSelector = Widget.extend({
|
||||
args: [
|
||||
false,
|
||||
["store", "searchable", "type", "string", "relation", "selection", "related"]
|
||||
]
|
||||
],
|
||||
context: this.getSession().user_context,
|
||||
})
|
||||
.then((function (fields) {
|
||||
modelFieldsCache.cache[model] = sortFields(fields);
|
||||
|
||||
Reference in New Issue
Block a user