433666b2d98e7e161f9694716e63741acc1d02d1
Usecase to reproduce: - 6 units in stock - reserve 3 units on a move - reserve 3 units on another move - validate a third move with 1 unit It raise the error could not reserve more than you have in stock. It happens because when free reservation stole reservation from an exisiting move with too much quantity available, it continues the loop instead of stopping. This commit stop the loop once we have enough quantity taken. opw-1895578 closes odoo/odoo#27935
…
…
…
…
…
…
…
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, 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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%