dd7a50db0688c1f65ee4fc686bb25e12fc571e84
When inserting a dynamic placeholder in the editable document we need to ensure the said document currently hold the focus and have an active selection range. This was previously handle by the `onDynamicPlaceholderClose()` method which used to be called before `onDynamicPlaceholderValidate()`. This seems to have changed from 16.1 to 16.2. In order to fix the problem and ensure the focus in any situation, we add a `wysiwyg.focus()` call at the beginning of the validate method. task-3222474 closes odoo/odoo#124149 X-original-commit: 51b992dec0bcdf09fde5e0811699235b590723ee 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%