From dbedded58e3db57e3532dbc7cc0881e3c9fd0fa0 Mon Sep 17 00:00:00 2001 From: Anael Closson Date: Thu, 5 Sep 2013 17:58:17 +0200 Subject: [PATCH] [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 --- addons/web/static/src/js/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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