6958f719e87f0e6a856e3eab08bb437002e9131e
There were two issues with the `getNormalizedCursorPosition`: 1. If the selection was in a non-editable element, the function called `rightPos` only once, without ensuring that the new position was editable. -> The current implementation fixes that by making it loop while in a non-editable element, and also allows the normalized position to use `leftPos` if the offset of a position is 0. 2. When searching for the deepest leaf to the right, the `DOMPathGenerator` was allowed to traverse non-editable elements, which is not correct since the result should always be editable for a normalized position. -> This is fixed, and the name of the `DOMPathGenerator` utils is updated for clarity. task-3280704 closes odoo/odoo#125204 X-original-commit: 3d44028a7722f61900b8669489ff929244b1a4b8 Related: odoo/enterprise#42615 Signed-off-by: David Beguin (dbe) <dbe@odoo.com> Signed-off-by: Damien Abeloos (abd) <abd@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%