diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-01-03 15:56:42 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-01-08 15:04:56 +0100 |
| commit | fc1348dd3d73c2a5fbcc043f75b00272fedd6b20 (patch) | |
| tree | e82c95b48809d69f757e41a6a85ff20934182e71 /addons/mail/controllers/main.py | |
| parent | 4622059b4d093df90e19154bfee2589f21d23bc6 (diff) | |
[REM] mail: remove unnecessary methods from mail.thread
* one dead method;
* one unnecessary method to inline;
* one unnecessary wrapper;
Diffstat (limited to 'addons/mail/controllers/main.py')
| -rw-r--r-- | addons/mail/controllers/main.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/mail/controllers/main.py b/addons/mail/controllers/main.py index f2568685da0..a3e9a10ced9 100644 --- a/addons/mail/controllers/main.py +++ b/addons/mail/controllers/main.py @@ -22,8 +22,7 @@ class MailController(http.Controller): @classmethod def _redirect_to_messaging(cls): - messaging_action = request.env['mail.thread']._get_inbox_action_xml_id() - url = '/web#%s' % url_encode({'action': messaging_action}) + url = '/web#%s' % url_encode({'action': 'mail.mail_channel_action_client_chat'}) return werkzeug.utils.redirect(url) @classmethod |
