eb1bd132af75a5b5c9733b9f7330a7a6ae1faf4a
Before this commit, when the user searches all the open tasks (the tasks without a stage set or the tasks are in a stage where `fold` is False), this search could be slow when a huge number of active tasks is in db and most of that tasks is in a stage folded. This commit stores the `is_closed` field to avoid doing a join into the stage table to know if the stage linked to the stage is folded or not. Because `is_closed` is a related of `stage_id.fold` and so we will avoid doing a sql join to know if the task is a open one or not. To further increase this search, an index is added too. Closes #85513 closes odoo/odoo#85968 Related: odoo/enterprise#24828 Related: odoo/enterprise#25055 X-original-commit: cf8bb93 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com> Co-authored-by: Yannick Tivisse <yti@odoo.com> Co-authored-by: Laurent Stukkens (LTU) <ltu@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%