[FIX] Fixed return type in action.load controller.
bzr revid: vta@openerp.com-20121004134056-je53a1m4tpxecho0
This commit is contained in:
parent
1e843a1e83
commit
ba4e817379
|
@ -1622,7 +1622,7 @@ class Action(openerpweb.Controller):
|
|||
action = req.session.model(action_type).read([action_id], False, ctx)
|
||||
if action:
|
||||
value = clean_action(req, action[0], do_not_eval)
|
||||
return {'result': value}
|
||||
return value
|
||||
|
||||
@openerpweb.jsonrequest
|
||||
def run(self, req, action_id):
|
||||
|
|
Loading…
Reference in New Issue