summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-10-19 18:52:11 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-10-19 18:52:11 +0200
commit268d1856cdc9c0aaefaaf5b3d3d04c8c560378d3 (patch)
tree7838ec45fb406ab27af4f5853db9ae43359c29a7 /addons/web/static/src/js
parent5743dca47d2e4890f25c7e3653fbba7039e7b7ff (diff)
[FIX] problem with exec_workflow in dataset: does not return the expected result format
bzr revid: nicolas.vanhoren@openerp.com-20121019165211-n6oh82sv4uc6jfsg
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/data.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/web/static/src/js/data.js b/addons/web/static/src/js/data.js
index 30a8b9862fc..0bc2848fe0b 100644
--- a/addons/web/static/src/js/data.js
+++ b/addons/web/static/src/js/data.js
@@ -557,8 +557,7 @@ instance.web.DataSet = instance.web.CallbackEnabled.extend({
return this._model.call('name_create', [name], {context: this._model.context()});
},
exec_workflow: function (id, signal) {
- return this._model.exec_workflow(id, signal)
- .pipe(function (result) { return { result: result }; });
+ return this._model.exec_workflow(id, signal);
},
get_context: function(request_context) {
return this._model.context(request_context);