[MERGE] [FIX] pass context for 2many fields in views

bzr revid: mat@openerp.com-20130909085809-qwtvig71g8re40fa
This commit is contained in:
Martin Trigaux
2013-09-09 10:58:09 +02:00
+1 -1
View File
@@ -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