Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029474Openbravo ERP04. Warehouse managementpublic2015-03-30 15:182015-04-10 08:50
ngarcia 
aferraz 
immediatemajoralways
closedfixed 
5
 
3.0PR15Q23.0PR15Q2 
umartirena
Core
Pre packaging ( pi )
2015-03-25
pi
https://code.openbravo.com/erp/devel/pi/rev/4f00f31f65e1 [^]
Yes
0029474: More than available stock can be reserved from Sales Order screen
More than available stock can be reserved from Sales Order screen
As group admin role:
   Configure the Enable Stock Reservations preference
   Log out and log in again
   Create a Sales Order for a product and a quantity higher than the stocked quantity
   Click on Manage Reservation button and check the Available Quantity is lower than the Quantity. This is incorrect
   Try to change the quantity to a value between the Available Quantity and the Quantity and check the following message is shown:
      "Reserved quantity exceeds the available quantity (30000) considering the quantity reserved in other reservations (0). Please, enter a valid number."
Approved
blocks defect 0029458 closed aferraz More than available stock can be reserved from Sales Order screen 
Issue History
2015-03-31 14:26aferrazTypedefect => backport
2015-03-31 14:26aferrazTarget Version => 3.0PR15Q2
2015-04-01 18:08dmitry_mezentsevTag Attached: Approved
2015-04-10 08:50hgbotCheckin
2015-04-10 08:50hgbotNote Added: 0076436
2015-04-10 08:50hgbotStatusscheduled => resolved
2015-04-10 08:50hgbotResolutionopen => fixed
2015-04-10 08:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/5ea2872a61632063d19c13c77f02009382d0e975 [^]
2015-04-10 08:50umartirenaReview Assigned To => umartirena
2015-04-10 08:50umartirenaNote Added: 0076437
2015-04-10 08:50umartirenaStatusresolved => closed
2015-04-10 08:50umartirenaFixed in Version => 3.0PR15Q2

Notes
(0076436)
hgbot   
2015-04-10 08:50   
Repository: erp/backports/3.0PR15Q2
Changeset: 5ea2872a61632063d19c13c77f02009382d0e975
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Fri Apr 10 08:21:40 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/5ea2872a61632063d19c13c77f02009382d0e975 [^]

Fixes bug 29474: Cannot be reserved more than available Stock.

Few more issues have been fixed also:

1) Prereservation lines will never have Warehouse field filled until they are received.

2) Filter of Purchase Order Line now is working having reservation completed or in draft status.

3) Prereservation Lines are displayed when the reservation is in draft status and they are not still reserved.

---
M src/org/openbravo/common/datasource/StockReservationPickAndEditDataSource.java
---
(0076437)
umartirena   
2015-04-10 08:50   
Code Review + Testing OK

Issue Fixed by Eduardo Argal