summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-03-10 18:31:21 +0100
committerChristophe Simonis <chs@odoo.com>2017-03-10 18:31:21 +0100
commitc9e3d93ad0126039a8ae7e22610dfe256315b341 (patch)
tree1719f1a669766f3ce8c8269f4f36f8e0f4295152 /addons/web/static/src/js/views/basic/basic_controller.js
parentbeaea311e6becd65dbb29925ba56016d4c249a68 (diff)
[FIX] website: correct redirect with correct lang
When forcing another language that the current one (the cookie one) in an url, the requested lang wasn't set correctly in redirect url, but the cookie was, resulting in multiple redirect which ends with initial lang. A side effect of this error was the inability to edit website page when default lang is not en_US and user not in default lang. The request context must be reset before being used by `request.redirect` (in `url_for` method).
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions