[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
This commit is contained in:
parent
1bd6608df9
commit
dbedded58e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue