dd4b3c3a66d2b4708fb29c1cc9dbd5c67e173db5
`waitForCondition` is written in a rather old style with a recursive `setTimeout` to handle the delay / debounce between checks. The code is rather hard to follow, and unnecessarily so: the code can be rewritten as an iterative async function which is a lot simpler. Important change: `waitForCondition` now immediately checks for the condition instead of waiting `interval` milliseconds before doing so. This is because the conventional usage is for it to be preceded by an `await triggerClick`, which includes an `await waitForNextAnimationFrame()`. As a result there are good odds the click has already been processed by the time `waitForCondition` runs. closes odoo/odoo#133645 Signed-off-by: Xavier Morel (xmo) <xmo@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%