15beec232420b08cb1f3b2c07a780acb19736d01
2 fixes are made: * We use a FOR NO KEY UPDATE instead of FOR UPDATE because we don't want to prevent the insertion of lines referencing the partner as a foreign key (i.e. new invoices). The data is purely informative and the exact value isn't too important anyways. * We catch SerializationFailure on top of the previously catched LockNotAvailable. It can happen in this use case - T1 and T2 start - T1 acquires the lock and updates - T1 commits - T2 acquires the lock: it gets it because T1 released it - T2 updates: T1 did it as well so there is a serialization failure. X-original-commit: b1491b7663e4c6c675e88a172e4b0a812e9b00a3 Part-of: odoo/odoo#106325
…
…
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%