summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/data.js
diff options
context:
space:
mode:
authorFrédéric van der Essen <fva@openerp.com>2013-09-11 17:59:21 +0200
committerFrédéric van der Essen <fva@openerp.com>2013-09-11 17:59:21 +0200
commita590fbaf43a1be2a12497e0fb31edbe2356bd1e0 (patch)
tree1e98b1d6e9a59b94fd137a7f8646493ba854a5aa /addons/web/static/src/js/data.js
parent3fa90321e11d28df4e2b874ddfa450dc73e8e0af (diff)
parent2f86c5ab5a292ff137cb270e3556123cef20dafe (diff)
[MERGE] point_of_sale: various fixes and improvements
bzr revid: chs@openerp.com-20130910125223-5iu0tohmourxcz64 bzr revid: fva@openerp.com-20130911155921-xyqskhjx9r9pgw9c
Diffstat (limited to 'addons/web/static/src/js/data.js')
-rw-r--r--addons/web/static/src/js/data.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/data.js b/addons/web/static/src/js/data.js
index a4fbb364a21..04f657d91f7 100644
--- a/addons/web/static/src/js/data.js
+++ b/addons/web/static/src/js/data.js
@@ -451,7 +451,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