7a14ea69868d4ce35ab90765b6e6b8e597935220
When updating the results following a change in the search filter or the source sources filter (All, Illustrations, ...), the list of media is regenerated to match the new results. If the user clicks on one media at the right time after the search is triggered (not too fast but not too slow either) it is possible to select a media which id is out of sync with the new state of the widget, thus prompting `_onAttachmentClick` to provide `undefined` to `_selectAttachment`, which ultimately leads to a traceback in `_highlightSelected` when accessing either `media.id` or `attachment.id` depending on the case. This commit fixes the issue by disabling pointer interactions with the attachments during the search and rendering update process. closes odoo/odoo#91985 X-original-commit: bc9db4e5a5559692f461acc7402df969b6236481 Signed-off-by: Romain Derie (rde) <rde@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%