2b1cdd551f54bcd7ad15aae1c76ba5d80dd85d95
In5efac22043and1cf5723835the computation of the decimal precision of float fields was modified to reuse a random cursor from the request environments. Environment.envs is a WeakSet, subject to unpredictable garbage collections. This could cause hard-to-diagnose problems by executing a SELECT query in a cursor that is supposed to be otherwise idle and untouched. As an example, this could cause a transaction start in a cursor that was just committed/rolled back, and was waiting for another operation to complete. One such case happened semi-randomly during a module installation triggered from the web client, where the request cursor is committed and waiting for the registry initialization done with a different cursor, in the middle of _button_immediate_function() After the registry initialization, the request cursor is used again to determine the next action (ir.actions.todo), and this could cause a TransactionRollbackError if the request cursor was used during the initialization. Using a new cursor every time is much safer, simpler, and will not cause any significant performance hit, because it will usually grab an available connection from the connection pool, rather than create a new one. Fixes opw-649151
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
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.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/8.0/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%