Skip to content
Snippets Groups Projects
Commit f6dd8994 authored by David Monjoie's avatar David Monjoie
Browse files

[FIX] mail: fixed redirect to messaging url

I checked with aab, and action definition comes after # and not ?.
parent 9c43f796
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ class MailController(http.Controller):
def _redirect_to_messaging(self):
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': messaging_action})
return werkzeug.utils.redirect(url)
@http.route('/mail/receive', type='json', auth='none')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment