041fe5e21e625e6ea80d26ecd041491c89cbba12
The field prefetching mechanism was poorly customizable. Before this, we could only tell if a field was prefetched with other fields or not at all. We have no way to inform the framework, like: "When I need data of that field, prefetch these other fields, which are likely be used in the same transaction". From now on, the `prefetch` attribute is used as a grouping key for prefetching fields. When a field is fetched, all the fields with the same value for `prefetch` are taken for prefetching. For example, consider a small set of fields that are rarely used, except for one flow A using them. You want to prefetch those fields only in the flow A, and you want to fetch them in a single query. With the new feature, simply set `prefetch=A` for some string `A` on those fields, and they will be grouped for prefetching. Part-of: odoo/odoo#83818
…
…
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%