[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:
Anael Closson 2013-09-05 17:58:17 +02:00
parent 1bd6608df9
commit dbedded58e
1 changed files with 1 additions and 1 deletions

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