a6b43db144dc177994c9738922a22e14d1599d8a
The function `_sync_dynamic_line`, which is called everytime we edit a `account.move` or a `account.move.line` is tracking the values before and after something changed. Some part of that process was computed in `O(n^2)` where `n` is the number of `account.move.line` related to the records; this commit is making it `O(n)`, like the function is supposed to be. Even though, these are light operations (no database queries, all in memory), they obviously start to matter at a certain point. The time to populate `account.move` (using the `populate` command) goes from 224ms to 170ms per record (1000 moves with ~10 lines per move) closes odoo/odoo#112522 X-original-commit: 99d2b818238b848125ec6696185ff1fca53d24cf Signed-off-by: Laurent Smet <las@odoo.com> Signed-off-by: William André (wan) <wan@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%