diff options
| author | Thibault Delavallée <tde@odoo.com> | 2016-09-16 11:13:04 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2016-09-23 10:00:18 +0200 |
| commit | 033fc508f4b6330cb1a8d25cfd75c103c648edbb (patch) | |
| tree | 643db5967d548c2b9f820d2e08848d98e5fa1edd /addons/mail/controllers/main.py | |
| parent | 26c7ff9118adbcf7873a6b1478ee3790168c3d1b (diff) | |
[FIX] mail: fix notification buttons url generation
* Assign controller now effectively redirects to mail/assign instead of
mail/assign
* Follow and Unfollow button now uses the helper that generated the link
Diffstat (limited to 'addons/mail/controllers/main.py')
| -rw-r--r-- | addons/mail/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/controllers/main.py b/addons/mail/controllers/main.py index c579226a617..adfa7edbfe3 100644 --- a/addons/mail/controllers/main.py +++ b/addons/mail/controllers/main.py @@ -193,7 +193,7 @@ class MailController(http.Controller): return werkzeug.utils.redirect('/mail/view?%s' % url_encode({'model': model, 'res_id': res_id})) @http.route('/mail/assign', type='http', auth='user') - def mail_action_assign(self, model, res_id, **kwargs): + def mail_action_assign(self, model, res_id): if model not in request.env: return self._redirect_to_messaging() Model = request.env[model] |
