9387952214f977411c3d90966a937e3dfd3dab7f
The reloading of the registry causes cache misses when creating or modifying automated actions via Odoo Studio. Right after the reloading happened, some field is computed in an environment `env` that no longer appears in `Environment.envs` (collecting existing environments), because the latter has been explicitly reset. Performing `sudo()` or `with_context()` in the compute method creates a new environment that appears in `Environment.envs`, and uses a different cache from `env`. The recomputed field is thus stored in the other cache, and retrieving its value from `env` issues a cache miss... The fix consists in re-patching the registry models without reloading the registry from scratch. opw:2082497 closes odoo/odoo#39342 X-original-commit: c99ad25d4c6affeed75b40e8bc8eeffe87873e48 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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%