diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-11-27 15:39:17 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-11-27 15:39:17 +0100 |
| commit | cc4d5a79ecb11a403c2fb777c4190cf8d8396cc2 (patch) | |
| tree | 92b45c7c832ae52228b9b9c75d5d99689143f305 /addons/web | |
| parent | 908c986ce8f96d7ec595005256793f34bb8034da (diff) | |
[FIX] group_by using old code
bzr revid: xmo@openerp.com-20121127143917-pk4un6zi1v96niyr
Diffstat (limited to 'addons/web')
| -rw-r--r-- | addons/web/static/src/js/data.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/web/static/src/js/data.js b/addons/web/static/src/js/data.js index 59889628151..e823e6f3057 100644 --- a/addons/web/static/src/js/data.js +++ b/addons/web/static/src/js/data.js @@ -123,9 +123,8 @@ instance.web.Query = instance.web.Class.extend({ var self = this; - // FIXME: when pyeval is merged - var ctx = instance.session.test_eval_contexts( - [this._model.context(this._context)]); + var ctx = instance.web.pyeval.eval( + 'context', this._model.context(this._context)); return this._model.call('read_group', { groupby: grouping, fields: _.uniq(grouping.concat(this._fields || [])), |
