summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/core
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2021-02-10 13:49:26 +0000
committerGéry Debongnie <ged@odoo.com>2021-02-10 14:27:32 +0000
commit2385e58d76aa5e4bca0fc6d76ecedc7de5fd4267 (patch)
treefb00bd9593ecf27ab075260f9b08734a6fa84e6b /addons/web/static/src/js/core
parenta622936ab09497086f43715e546a1b33418d0ee3 (diff)
[FIX] web, point_of_sale: update owl to v1.2.4
This commit update owl from 1.2.3 to 1.2.4, and introduces a few fixes for code that was broken (because it accesses private owl values) Note the fix for the test menu code is interesting. Before this commit, the handler for the click on the home menu component was not called, so the click had a side effect: it modified the url to its href, which caused the action manager to load the next application, even though the home menu was not mounted. With the update to Owl, this is no longer true: the handler is called, and call preventDefault on the event. Because of that, the url is not changed. However, since the home menu is itself not mounted, it cannot communicate to the web client that we should load the next app. This is why it was broken. The fix is simple: we actually make sure that the home menu is displayed before clicking on the app menuitem. closes odoo/odoo#65886 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/core')
0 files changed, 0 insertions, 0 deletions