39eaf87b1b9d4720d850cd70ddcd390f63522bbd
On deletion of records, foreign keys are updated. For larger tables (like account.move, account.bank.statement.line) this could take some time. adding a "not null btree index" on sparsely populated many2one fields significantly improves performance. In the analysis of deleting a bank statement line. Before: 7.4s to delete the bank statement line (missing index on suspense_statement_line_id consuming 99% of the execution time) 3.8s to delete the corresponding account move After: With the indexes, a 700x performance improvement was found. This opportunity is taken to add an index on all many2one fields to account.move & bank.statement.line. Issue report by @tsb-odoo closes odoo/odoo#145643 X-original-commit: f10b87991cc72f5e16b587b6c9ede7e338ec79ac Related: odoo/enterprise#52466 Signed-off-by: William André (wan) <wan@odoo.com> Signed-off-by: Habib Ayob (ayh) <ayh@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%