diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-09-11 12:35:49 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-09-11 12:35:49 +0200 |
| commit | ec15765eecfecff3e3b0a4cc8810d73f042e30c2 (patch) | |
| tree | 06207f693e192599fb03c75a707a3f2c1b74d429 /addons/im_livechat/controllers | |
| parent | 2a0d62295efcd3b4f3b6a992de2ebb1e2f74623f (diff) | |
| parent | 48f88992da66a12eb0653a8a69b7d4e0e9389d9e (diff) | |
[MERGE] forward port branch saas-14 up to 48f88992da6
Diffstat (limited to 'addons/im_livechat/controllers')
| -rw-r--r-- | addons/im_livechat/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/im_livechat/controllers/main.py b/addons/im_livechat/controllers/main.py index f033fc72cc7..030581e12f2 100644 --- a/addons/im_livechat/controllers/main.py +++ b/addons/im_livechat/controllers/main.py @@ -75,7 +75,7 @@ class LivechatController(http.Controller): # if the user is identifiy (eg: portal user on the frontend), don't use the anonymous name. The user will be added to session. if request.session.uid: anonymous_name = request.env.user.name - return request.env["im_livechat.channel"].get_mail_channel(channel_id, anonymous_name) + return request.env["im_livechat.channel"].with_context(lang=False).get_mail_channel(channel_id, anonymous_name) @http.route('/im_livechat/feedback', type='json', auth='public') def feedback(self, uuid, rate, reason=None, **kwargs): |
