summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2017-11-16 13:36:55 +0100
committerNicolas Lempereur <nle@odoo.com>2017-12-20 18:01:09 +0100
commitbe5950e429e40e79ccc1330a1f6a79cf71d48a5b (patch)
tree3ad2df0c59a85c1cbcf62df8f0ab8f00f3eddb93 /addons/web/static/src/js/framework
parent16065f3ee2f02aba9b7a78f24522fc561cbdc2fe (diff)
[FIX] web_planner: use user language on frontend
The web planner specified no language for frontend so the website planner on the frontend was never translated. This commit add a specialized fallback for this use case so the planner on the website is in the language of the current user. The code is the same that get_context from web_editor.base but requiring that would possibly adds delays (for dom_ready) that we don't want. note: this is for 9.0 up to not including 11.0, in 11.0 another solution is used and in master a bigger change is being worked on. opw-781727 fixes #20829 closes #21004
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions