diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-10-05 15:12:05 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-10-05 15:12:05 +0200 |
| commit | 0e101c63a3355e2aebce2d38f985e9ac6dc96376 (patch) | |
| tree | 1e4e77dc9b99eadba3bd5824c0706cc931534136 /addons/web/static/src/js | |
| parent | b965ae5cf79f87a838d8a941f154390737895c4a (diff) | |
[FIX] evaluator: connection -> session
bzr revid: xmo@openerp.com-20121005131205-ffk746ac5xrua62j
Diffstat (limited to 'addons/web/static/src/js')
| -rw-r--r-- | addons/web/static/src/js/pyeval.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/pyeval.js b/addons/web/static/src/js/pyeval.js index 8c498c3f885..007d73081ce 100644 --- a/addons/web/static/src/js/pyeval.js +++ b/addons/web/static/src/js/pyeval.js @@ -164,7 +164,7 @@ openerp.web.pyeval = function (instance) { // siblings _.extend(evaluation_context, evaluated); return _.extend(result_context, evaluated); - }, _.extend({}, instance.connection.user_context)); + }, _.extend({}, instance.session.user_context)); }; var eval_domains = function (domains, evaluation_context) { var result_domain = []; @@ -219,7 +219,7 @@ openerp.web.pyeval = function (instance) { instance.web.pyeval.context = function () { return { - uid: new py.float(instance.connection.uid), + uid: new py.float(instance.session.uid), datetime: datetime, time: time, relativedelta: relativedelta, |
