96506718712ba3a350d78edce817a5a3f0199e01
Before this commit, when the user goes to project update of a project with many tasks and some tasks are linked to some miletones of that project the the `_compute_can_be_marked_as_done` could take more than 500ms depending on the tasks and miletones in the project (when the project update of that project is loaded). This commit fixes the performance by adding an index on `milestone_id` field in `project.task` model. Test case: --------- The sql query made in that compute method took more than 600ms before that commit. With the index, the query takes less than 1ms. X-original-commit: 47e02120b1aa5607a7fc528853629438cecf3e64 Part-of: odoo/odoo#114301 Co-authored-by: Yannick Tivisse <yti@odoo.com> Co-authored-by: SEINLET Nicolas <nse@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%