diff options
| author | Anael Closson <acl@openerp.com> | 2013-09-05 17:58:17 +0200 |
|---|---|---|
| committer | Anael Closson <acl@openerp.com> | 2013-09-05 17:58:17 +0200 |
| commit | dbedded58e3db57e3532dbc7cc0881e3c9fd0fa0 (patch) | |
| tree | 5d9a1caa758d25ff72eaad2d97c4232e711ea0c1 /addons/web/static/src | |
| parent | 1bd6608df9bc2f400d219d232ae715e8c114379d (diff) | |
[FIX] OPW 597162 : context not properly retreived and therefore not sent when retreiving o2m and m2m lines
lp bug: https://launchpad.net/bugs/1217374 fixed
bzr revid: acl@openerp.com-20130905155817-llmjnsmd252q3286
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/data.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/data.js b/addons/web/static/src/js/data.js index 679afe77bcd..e535be294aa 100644 --- a/addons/web/static/src/js/data.js +++ b/addons/web/static/src/js/data.js @@ -432,7 +432,7 @@ instance.web.DataSet = instance.web.Class.extend(instance.web.PropertiesMixin, // TODO: reorder results to match ids list return this._model.call('read', [ids, fields || false], - {context: this._model.context(options.context)}); + {context: this.get_context(options.context)}); }, /** * Read a slice of the records represented by this DataSet, based on its |
