[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:
parent
5743dca47d
commit
268d1856cd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue