[FIX] Fixed return type in DataSet.call_button controller.
bzr revid: vta@openerp.com-20121004115011-702ut2j0358rw6cq
This commit is contained in:
parent
bc650ac97c
commit
f29a405729
|
@ -1209,8 +1209,8 @@ class DataSet(openerpweb.Controller):
|
|||
def call_button(self, req, model, method, args, domain_id=None, context_id=None):
|
||||
action = self.call_common(req, model, method, args, domain_id, context_id)
|
||||
if isinstance(action, dict) and action.get('type') != '':
|
||||
return {'result': clean_action(req, action)}
|
||||
return {'result': False}
|
||||
return clean_action(req, action)
|
||||
return False
|
||||
|
||||
@openerpweb.jsonrequest
|
||||
def exec_workflow(self, req, model, id, signal):
|
||||
|
|
Loading…
Reference in New Issue