diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-01-27 12:23:09 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-01-27 12:23:09 +0100 |
| commit | 7e44ddcda3f21c7e6401173539dc0fe93f9a7dd2 (patch) | |
| tree | 322d7f2ce86ce328c27197c5c1b31c9f4a2b2c5c /addons/web/controllers/main.py | |
| parent | 3c7b08c030daf84323279b3d87361214e4f1b729 (diff) | |
| parent | 6f923cbdcdc9a78d1999999b3bbd917eb8b4e921 (diff) | |
[MERGE] forward port of branch saas-7 up to 6f923cb
Diffstat (limited to 'addons/web/controllers/main.py')
| -rw-r--r-- | addons/web/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 9b2a3243866..aa4c1c32fcb 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1067,7 +1067,7 @@ class Binary(http.Controller): 'id': attachment_id } except Exception: - args = {'error': "Something horrible happened"} + args = {'error': _("Something horrible happened")} _logger.exception("Fail to upload attachment %s" % ufile.filename) return out % (json.dumps(callback), json.dumps(args)) |
