summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-03-23 11:19:26 +0100
committerNicolas Lempereur <nle@odoo.com>2018-03-26 10:53:23 +0200
commitbae7e32e4bd484212c891aa39eab564073ca03ae (patch)
treec0858e00424fbfb71e81d4aef13eaf9edd2491e1 /addons/web/static/src/js/views/basic/basic_model.js
parentcafc6c3ae08e384daaaa9ab2efd523d5e02db6eb (diff)
[FIX] website: see versionning changes
Website Versioning module (website_version) is applied when displaying views by interfering when doing the "render the view of this `key`" and showing the view with the same `key` but of the currently displayed version. The website.page model when directly rendering a page would directly specify its `id`, thus website version was bypassed and just the master page was displayed. With this commit website.page has a "get_view_identifier" that can be overrided in website_version and has the same previous behavior otherwise. This changeset also solves a conflict (`website().get_current_website` also modify `request.context`) when modifying the context which also disabled versions. opw-1824957 closes #23847
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions