[FIX] problem with exec_workflow in dataset: does not return the expected result format

bzr revid: nicolas.vanhoren@openerp.com-20121019165211-n6oh82sv4uc6jfsg
This commit is contained in:
niv-openerp 2012-10-19 18:52:11 +02:00
parent 5743dca47d
commit 268d1856cd
1 changed files with 1 additions and 2 deletions

View File

@ -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);