summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-11-28 16:10:44 +0100
committerXavier Morel <xmo@openerp.com>2012-11-28 16:10:44 +0100
commit48b0d70fc217ce28d1b72e8440e864d8c1cc83c1 (patch)
tree73ed462a24ed60eb1b9f313cb5c903a832a6d888 /addons/web/static/src
parent89d9cd5910cd72009e5eff32214a1568f5acede6 (diff)
[FIX] context evaluation in kanban resequencing
bzr revid: xmo@openerp.com-20121128151044-i58uwcdem2cgyyrv
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/data.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/js/data.js b/addons/web/static/src/js/data.js
index e823e6f3057..bbff633c687 100644
--- a/addons/web/static/src/js/data.js
+++ b/addons/web/static/src/js/data.js
@@ -610,7 +610,8 @@ instance.web.DataSet = instance.web.Class.extend(instance.web.PropertiesMixin,
return instance.session.rpc('/web/dataset/resequence', {
model: this.model,
ids: ids,
- context: this.get_context(options.context),
+ context: instance.web.pyeval.eval(
+ 'context', this.get_context(options.context)),
}).then(function (results) {
return results;
});