summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
authorvta vta@openerp.com <>2012-10-04 15:40:56 +0200
committervta vta@openerp.com <>2012-10-04 15:40:56 +0200
commitba4e817379f592bd376795fa4f848be45b335d3d (patch)
tree214991eb9261789c5cd7db8c5cf33948183e57b0 /addons/web/controllers/main.py
parent1e843a1e83e05172105da26075d1c7cbb2af2218 (diff)
[FIX] Fixed return type in action.load controller.
bzr revid: vta@openerp.com-20121004134056-je53a1m4tpxecho0
Diffstat (limited to 'addons/web/controllers/main.py')
-rw-r--r--addons/web/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py
index d1feb19e3d1..d93aef6526c 100644
--- a/addons/web/controllers/main.py
+++ b/addons/web/controllers/main.py
@@ -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):