reload_context should not use its context
issue3837 review5041002
This commit is contained in:
1 parent
5fb30848bd
commit
6552c8515e
1 file changed
+4
-1
+4
-1
@@ -105,7 +105,10 @@
|
||||
'method': 'model.res.user.get_preferences',
|
||||
'params': [true, {}]
|
||||
};
|
||||
var prm = Sao.rpc(args, this);
|
||||
// Call with custom session to not send context
|
||||
var session = jQuery.extend({}, session);
|
||||
session.context = {};
|
||||
var prm = Sao.rpc(args, session);
|
||||
return prm.then(function(context) {
|
||||
this.context = context;
|
||||
}.bind(this));
|
||||
|
||||
Reference in new issue
Block a user