Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024788Openbravo ERP04. Warehouse managementpublic2013-09-17 12:582013-10-01 13:54
gorkaion 
gorkaion 
urgentmajoralways
closedfixed 
20Gentoo
pi 
3.0MP28 
Core
No
0024788: It is possible to reserve more quantity than available
When a Sales Order is manually reserved having less stock available than needed the reservation is created for the whole needed quantity.
1. create a new product test with a sales price
2. create and process a physical inventory to set a quantity of 5 units
3. create a new sales order for the new product with ordered quantity of 6
4. set the stock reservation field empty in the line.
5. book the order
6. open the "manage reservation" popup (if button is not visible create a preference with the property "Enable Stock Reservation" and value "Y" and logout/login again).
7. Check that it is not possible to reserve the 6 units and reserve the 5 available units.
8. Click done button
9. Open again the Manage Reservation window and see that 6 units are reserved.
No tags attached.
Issue History
2013-09-17 12:58gorkaionNew Issue
2013-09-17 12:58gorkaionAssigned To => gorkaion
2013-09-17 12:58gorkaionModules => Core
2013-09-17 12:58gorkaionTriggers an Emergency Pack => No
2013-09-18 10:12hgbotCheckin
2013-09-18 10:12hgbotNote Added: 0061272
2013-09-18 10:12hgbotStatusnew => resolved
2013-09-18 10:12hgbotResolutionopen => fixed
2013-09-18 10:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2e9ce78cf1e33e39b729b6e7644269ea6231b7e6 [^]
2013-09-18 10:17jpcalventeIssue Monitored: jpcalvente
2013-09-18 18:53hudsonbotCheckin
2013-09-18 18:53hudsonbotNote Added: 0061283
2013-10-01 13:54gorkaionStatusresolved => closed

Notes
(0061272)
hgbot   
2013-09-18 10:12   
Repository: erp/devel/pi
Changeset: 2e9ce78cf1e33e39b729b6e7644269ea6231b7e6
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed Sep 18 10:10:40 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2e9ce78cf1e33e39b729b6e7644269ea6231b7e6 [^]

Fixed issue 24788.Automatically reserve remaining after updating to CO.

---
M src-db/database/model/functions/M_RESERVATION_POST.xml
---
(0061283)
hudsonbot   
2013-09-18 18:53   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/03baede6c83a [^]

Maturity status: Test