d534a216ba8fe88907bd0441612717972652a8e9
The call to reset() when simulating requests during HttpCase tests leaves the test class into an inconsistent state. Indeed, the test environment is no longer into Environment._local, and this may trigger record cache errors, because new environments use a record cache that is different from the test's environment. As this issue only occurs in the context of unit testing, it is not worth fixing on a stable release, because of the involved risk. Instead, we modify the test so that the failing operation is made in method setUpClass(), before any environment reset. closes odoo/odoo#63730 X-original-commit: c8604df6e3eab4090ffcb4c3f311e72c8bceac7c Related: odoo/enterprise#15439 Signed-off-by: Raphael Collet (rco) <rco@openerp.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%