0edd4693820a12eb0c9eb4601366d32633c1b567
The evalContext getter is called a lot of times during a rendering of a view, by several components (the renderer, the fields...). It is a getter better it can evolve (with reloads, changes...) and we wanted to ensure that it's always up to date. This causes performance issues, in particular in grouped kanban views where we can have a lot of displayed records, and fields. To mitigate the issue, we introduce a brief cache that is reset after a micro tick. The rationale is that during a rendering, the evalContext doesn't change, so we'll compute it once and then retrieve the same object. After a micro tick, the value is reset, so it will be recomputed the next time we need it. Mitigating perf issue on odoo.com (Project tasks grouped kanban view, when resequencing records). X-original-commit: 7ec8e3124325da65031c6c7c392c34f56c534cc5 Part-of: odoo/odoo#114225
…
…
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%