640af08cad28460a18f670d9d324cfee47878ac5
This commit ensures that elements returned by the getTabableElements method of the ui utils does not return invisibe elements. This fixes an issue with the trapFocus method of the ui service which could set an invisible element as lastTabableEl therefore making it impossible to loop back to the firstTabableEl when the actual last tabable element is focused and the client presses tab. Also fix a side effect of these changes in list renderer where focusCell would be called before the cell width computations which would work by chance before since getTabableElements took into account elements with 0 width but is now no longer the case. This is fixed by moving down the onPatched method which calls focusCell underneath the useEffect method which performs column style computations. Steps to reproduce: - Go to any dialog with mail installed - Press tab multiple times - At some point, the address bar should be focused instead of the dialog buttons Explanation: the chatter is present in the DOM but not displayed so the last tabable element that is detected by getTabableElements is a child node of the chatter which cannot be reached. OPW-3584847 closes odoo/odoo#148382 X-original-commit: c631bf09b927003edc4c2b85e8790e8e2e8c044a Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Julien Carion (juca) <juca@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%