1fd39b35b2154f95214b504d9777a50961983593
Before this commit, the suggestion list would not work when a string with no match was entered then modified. Steps to reproduce: - Open a channel - Type `/hee` (this string matches no suggestion) - Delete one of the `e` in order to get `/he` - This string should match the `/help` suggestion but nothing is shown. There is several issues here: - The suggestion hook is based on the composer selection but the `selectionChange` event is not triggered when deleting text from the textarea which leads to incorrect selection. - The search is cleared in the `suggestionHook` when nothing is found which leads to incorrect delimiter position after a deletion. This commit fixes both issues. closes odoo/odoo#127997 X-original-commit: b8bf65478cad558e02a5902886b3e4272483944e Signed-off-by: Alexandre Kühn (aku) <aku@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%