e966beb3ca90c7c59af37e181e4169bb39f1d5f2
The real overhead of creating a related field is actually two queries: - one query in update_db_related, the purpose of this test - one more query for _compute_related_field_id in flush() With the previous version of this test, one prefetching done in the first create was not present in the second create since it was in cache. The fix clears the caches to make the creation of both fields in the same situation, such that query counts are compared in a fair way. Part-of: odoo/odoo#78514
…
…
…
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%