8da12ebd7511dbe8f7b1044e24b00de7ec721b7b
Technical Reason: - The events bound to the specific elements inside the `FileViewer` are propagating/bubbling up and are triggering the `onGlobalClick` (https://github.com/odoo/enterprise/blob/eaf40edbbacfc6a8eb9e0137c20e7f94b1f5d723/documents/static/src/views/kanban/documents_kanban_renderer.js#L36-L42) event bound on the `DocumentsKanbanRenderer`. (https://github.com/odoo/enterprise/blob/71dbc617d6fe533c4d0153361f9711bd4c9e4885/documents/static/src/views/kanban/documents_kanban_renderer.xml#L6) After this commit: - Only the events bound to the specific HTMLElements are now triggered. - We successfully prevent the un-necessary call of the `onGlobalClick` method mentioned above. Refer the related enterprise PR for the test case of this fix. Task-3489455 closes odoo/odoo#150257 X-original-commit: e321fe3a40dd470095c79e7abcd273d6fa0cfe7c Related: odoo/enterprise#54752 Signed-off-by: Stéphane Debauche (std) <std@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%