diff options
Diffstat (limited to 'addons/web/controllers/main.py')
| -rw-r--r-- | addons/web/controllers/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index b61855de052..379838fc7d0 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1118,6 +1118,7 @@ class Binary(http.Controller): 'res_model': model, 'res_id': int(id) }) + attachment._post_add_create() except Exception: args.append({'error': _("Something horrible happened")}) _logger.exception("Fail to upload attachment %s" % ufile.filename) |
