576afb3f2791751c0c1c745956924446b68f864d
How to reproduce: - open a record with an html_field (i.e. todo or a Knowledge article) - switch back and forth with the pager or the knowledge sidebar between 2 records Current behavior: - traceback `this._elementHookMap.get(element)` is undefined Expected behavior: - no traceback Technical explanation: When changing the editable content (i.e. `resetContent` when changing record), there is no guarantee that `_intersectionObserverCallback` (intersectionObserver) won't be called before `_updateHooks` (mouseMove/resize after a mutation occured). This is an issue because `this._elementHookMap` may not yet have a hook element related to the editable element which stops intersecting the document. If such a case occurs, the next `_updateHooks` should be called when the mutationObserver flags `_resetHooksNextMouseMove` to `true` and then after the next `mouseMove` (or after the next resize). Ignore the hook style update if there is currently no hook for an element which stops intersecting. Remove a redundant check in `_getMovableElements` task-3506666 closes odoo/odoo#135464 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%