Skip to content

Commit

Permalink
[MERGE] [FIX] pass context for 2many fields in views
Browse files Browse the repository at this point in the history
  • Loading branch information
mart-e committed Sep 9, 2013
2 parents f17ab8b + dbedded commit 63a2e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/web/static/src/js/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63a2e35

Please sign in to comment.