diff options
| author | jvm-odoo <jvm@odoo.com> | 2019-11-25 14:18:27 +0000 |
|---|---|---|
| committer | Jason Van Malder <jvm@odoo.com> | 2019-11-27 12:14:21 +0000 |
| commit | dc771b1a5c1995f6a64807101a24ff961c082854 (patch) | |
| tree | d2f5948b894bff4df6f962b329e2eeb43530ca5c /addons/mail/static/src/xml/thread_window.xml | |
| parent | 5ef68945e72322cc0af7ae60a956e59a3d650aee (diff) | |
[FIX] http_routing: fix context language used when not available
A customer reported a problem when he deleted a language on the
website app.
In some cases, if you go on the odoo's generated website as a public
user let's imagine the following url: website.com/en_GB
The lang is saved in a cookie and sent to the context.
If you delete the language from the website languages (without
deactivating it) and you go on website.com as a public user,
the method will try to use the context or the cookie value which is
'en_GB' and it crashes.
This commit makes sure that the language is available
OPW-2129580
closes odoo/odoo#41007
X-original-commit: f3e9ca13f60ced0ec61cea0d13da45b2569da14e
Signed-off-by: Jason Van Malder <jasonvanmalder@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/xml/thread_window.xml')
0 files changed, 0 insertions, 0 deletions
