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>