Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037193Openbravo ERP04. Warehouse managementpublic2017-10-26 13:082018-01-25 18:03
ngarcia 
collazoandy4 
immediatemajoralways
closedunable to reproduce 
5
 
3.0PR17Q2.4 
dmiguelez
Core
3.0PR17Q2.3
https://code.openbravo.com/erp/devel/pi/rev/f9f49f355698 [^]
No
0037193: Negative Stock can be obtained although the storage bin is defined as OverIssue = N (not allowing negative stock)
Negative Stock can be obtained although the storage bin is defined as OverIssue = N (not allowing negative stock)
As group admin role:
   Check all the storage bins for Region Norte and Region Sur warehouses have a status that do not allow overissue
   Create a new product for F&B España, S.A
   Set it as Purchase, Sale and Stocked
   Add a purchase price list to it
   Create a purchase order for F&B España - Región Norte and add two units of the product
   Create the related goods receipt
   Create a goods movement for F&B España, S.A and select the stock of Region Norte warehouse
   Increase the Movement Quantity from 2 to 3
   Move it to a storage bin in Region Sur warehouse
   Check you can process the document and you should not
   Create a Goods Shipment F&B España - Región Sur
   Select the stock of Region Sur warehouse
   Increase the Movement Quantity from 3 to 4
   Check you can process the document and you should not
   Launch the stock report and check the stock of the product is -1 in each warehouse
No tags attached.
blocks defect 0037168 closed dmiguelez Negative Stock can be obtained although the storage bin is defined as OverIssue = N (not allowing negative stock) 
diff 37193.diff (615) 2018-01-25 18:03
https://issues.openbravo.com/file_download.php?file_id=11491&type=bug
Issue History
2017-10-30 21:20collazoandy4Typedefect => backport
2017-10-30 21:20collazoandy4Target Version => 3.0PR17Q2.4
2017-11-02 16:00dmiguelezReview Assigned To => dmiguelez
2017-11-02 16:00dmiguelezNote Added: 0100219
2017-11-02 16:00dmiguelezStatusscheduled => closed
2017-11-02 16:00dmiguelezResolutionopen => unable to reproduce
2018-01-25 18:03ngarciaFile Added: 37193.diff
2018-01-25 18:03ngarciaNote Added: 0101976
2018-01-25 18:07ngarciaNote Edited: 0101976bug_revision_view_page.php?bugnote_id=0101976#r16589

Notes
(0100219)
dmiguelez   
2017-11-02 16:00   
This regression has been introduced with the Inventory Status functionality.

This functionality has been published in 17Q3.
The problem does not happen before.

http://wiki.openbravo.com/wiki/Modules:Inventory_Status [^]
(0101976)
ngarcia   
2018-01-25 18:03   
(edited on: 2018-01-25 18:07)
Attached a possible patch for 3.0PR17Q2.4