46178afee0038310c4b496b83e94bfeea2f53018
There are cases where the result of `check_company_domain_parent_of` is used in in a loop, leading to the parent_of relation being recomputed once or even multiple times per iteration during SQL evaluation. Computing the parent relationship turns out to be fairly expensive in worst case scenarios (e.g. lots of companies), so while precomputing doesn't save much for a 1:1 situation (though it does make the job of the expressions compiler a bit simpler), the ability to compute it just once instead of say 140 times does make a huge difference in e.g. some report renderings. Nota: apparently `_check_company_domain` can be called with a string because lol, so there's a special case for that. closes odoo/odoo#133530 X-original-commit: 2f9ae135c9dd7cb09fa83fda7a9b304993cb3edc Related: odoo/enterprise#46518 Signed-off-by: Raphael Collet <rco@odoo.com> Signed-off-by: Xavier Morel (xmo) <xmo@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%