981290ee9c88ea00440268d2a7b829d3a601a2d2
By default, clicking on links in a contentEditable context does not open the link because it would make it hard to edit it otherwise. This is a problem now that the views are always in edit mode because it means the user cannot quickly and easily click on links to open them. This commit aims to solve this conundrum by finding a middle-ground between these two use cases, that is reintroducing the oh-so loved Ctrl+Click behavior that was commonly used in previous versions. This required two changes: 1. Explicitely implementing the behavior of opening the link in a new tab in that case since it is not the native behavior in a contentEditable context. 2. Giving special treatment to links inside a contentEditable context in the `globalClick` listener introduced at [1] such that the event can actually reach the custom handler in the editor. task-id 3188438 [1]: https://github.com/odoo/odoo/commit/47acba560a8954f10bfa97b28daf90047005fdf1#diff-ce4923ebad38db28d4fc17267c93d147c4404feefd42eb140ef990bddbe1a9ffR93 closes odoo/odoo#115428 X-original-commit: 8bd6b28f7915d7d84ff42722e5cb4b6f798cb81d 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%