summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
authorvta vta@openerp.com <>2012-10-05 13:30:46 +0200
committervta vta@openerp.com <>2012-10-05 13:30:46 +0200
commitdcb8a9e44182e766d80f5a36ea368a66654a23fd (patch)
tree21952cb022191cacf69f8222250e2bf440851d21 /addons/web/controllers/main.py
parent5a971eca906ea07a126dc6f1d5c468053160fe73 (diff)
[FIX] Fixed more r.result issues.
bzr revid: vta@openerp.com-20121005113046-mwgb0pvm4bcgf875
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):