6ff646f15051979357d3f0d6f93e6db9ebbd1159
Have a Storable Product configured to 'Show inventory below a threshold and prevent sales if not enough stock' (availability settings). Have a quantity available of such product, i.e 100 From the shop create 2 sessions with 2 different users A and B. With both follow the steps in parallel: - put 100 of product in cart - go to checkout up to payment screen Press 'Pay Now' with A (and confirm the order in backend if auto confirm is not enabled so available quantity is updated) Press 'Pay Now' with B 200 of product are requested because all cart checks for availability are done before payment but not on the final step. Adding a final step of check for availability opw-2261598 closes odoo/odoo#52954 X-original-commit: 4d3f2fbdcda68d4f0e0bb3bb34d51e71d963621b Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: Nicolas Martinelli (nim) <nim@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%