[FIX] typo in attachment server-side methods
lp bug: https://launchpad.net/bugs/1132770 fixed bzr revid: nicolas.vanhoren@openerp.com-20130225172446-gfuhhg0dqetiz51m
This commit is contained in:
@@ -1311,7 +1311,7 @@ class Binary(openerpweb.Controller):
|
||||
'id': attachment_id
|
||||
}
|
||||
except Exception:
|
||||
args = {'error':e.faultCode }
|
||||
args = {'error': "Something horrible happened"}
|
||||
return out % (simplejson.dumps(callback), simplejson.dumps(args))
|
||||
|
||||
@openerpweb.httprequest
|
||||
|
||||
Reference in New Issue
Block a user