Skip to content

Commit

Permalink
[FIX] OPW 597162 : context not properly retreived and therefore not s…
Browse files Browse the repository at this point in the history
…ent when retreiving o2m and m2m lines

lp bug: https://launchpad.net/bugs/1217374 fixed

bzr revid: [email protected]
  • Loading branch information
Anael Closson committed Sep 5, 2013
1 parent 1bd6608 commit dbedded
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 dbedded

Please sign in to comment.