cb9b93b5c448980ec908a4de8aceea798ec5f0b1
Set order is not randomized for integers (integer hash is the integers itself and doesnt use pythonhashseed) but the output may be ordered or not depending of the values: In [2]: list(set(range(126,130))) Out[2]: [128, 129, 126, 127] In [3]: list(set(range(130,134))) Out[3]: [130, 131, 132, 133] This will lead to different results in query count tests depending on the current value of the sequence. The proposed solution is to use an Orderedset. We need to keep in mind that the initialisation/operation on Orderedset may be slower but this shouldn't represent any significant overhead in this case. closes odoo/odoo#91962 X-original-commit: da66b8fc008f97680584e266135b7fa7d3dedeca Signed-off-by: Rémy Voet <ryv@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%