summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-01-15 16:45:13 +0100
committerNicolas Lempereur <nle@odoo.com>2018-01-15 17:00:12 +0100
commit06ebd7d6e59707b3e56626d8c95326fe5cd3ddd9 (patch)
tree77c69d494d267dd799ee2818af5154b128507418 /addons/web/static/src/js/views/basic/basic_model.js
parentc591e4e6c11cb18c64d74bd81dd5d7445e468f6d (diff)
[FIX] website_slides: display date in locale
In 10.0 since 52f268d0 some parts such as the date/datetime widget are adapted to the current locale and not just displayed in english. But the dates in the slides module are always in english because they don't wait for the locale to be loaded. To wait for the locale, this commit add a wait for WebsiteRoot.instance ensuring that locale and other WebsiteRoot widgets are ready. This may have been preferred to create a dummy child widget to WebsiteRoot, this way only WebsiteRoot would need to be ready and this would have been more extensible but this is a bigger change. note: this fix is for 11.0, for previous version the fix is ef8cd11a6b opw-804555 closes #22241
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions