-
- Downloads
[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: f3e9ca13 Signed-off-by:Jason Van Malder <jasonvanmalder@users.noreply.github.com>
Please register or sign in to comment