[FIX] mail: fixed redirect to messaging url

I checked with aab, and action definition comes after # and not ?.
This commit is contained in:
David Monjoie
2015-12-14 14:51:27 +01:00
parent 9c43f79627
commit f6dd8994d6
+1 -1
View File
@@ -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')