diff --git a/src/session.js b/src/session.js index 4c6bbf672d..bb4150536a 100644 --- a/src/session.js +++ b/src/session.js @@ -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));