[FIX] Fixed return type in action.load controller.

bzr revid: vta@openerp.com-20121004134056-je53a1m4tpxecho0
This commit is contained in:
vta vta@openerp.com 2012-10-04 15:40:56 +02:00
parent 1e843a1e83
commit ba4e817379
1 changed files with 1 additions and 1 deletions

View File

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