36612a342b4bec171905a0d78494e2180e919a2a
In the QUnit test suite, we have cleanup code that runs after each test to ensure that event listeners, setTimeouts... registered during a test are removed. This is particularly useful for services, as they do not have a "destroy" function to cleanup those handlers they would have registered at startup. Side note: they don't because it would only be useful for tests, as a service lives forever in the prod environment. Before this commit, that cleanup code didn't remove callbacks registered with a setInterval. Moreover, we didn't remove event handlers bound on document.body either. As a consequence, there were memory leaks in the test suite (e.g. callbacks of the tooltip service), and some crashes could occur if the user interacted with the window after test completion. closes odoo/odoo#97100 Signed-off-by: Aaron Bohy (aab) <aab@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%