[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:
parent
811d4a4efd
commit
9f6451c2ac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue