summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-09-09 10:58:09 +0200
committerMartin Trigaux <mat@openerp.com>2013-09-09 10:58:09 +0200
commit63a2e35cd87f1de99485cc4b58a5e077defae0fe (patch)
tree9f666eafd215277a6d397520562563abb3d3d29a
parentf17ab8b43cb728015136ace77032ca55a5e49a1b (diff)
parentdbedded58e3db57e3532dbc7cc0881e3c9fd0fa0 (diff)
[MERGE] [FIX] pass context for 2many fields in views
bzr revid: mat@openerp.com-20130909085809-qwtvig71g8re40fa
-rw-r--r--addons/web/static/src/js/data.js2
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