Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032871Openbravo ERP04. Warehouse managementpublic2016-05-05 10:562016-06-17 19:37
marvintm 
aferraz 
normalmajoralways
closedfixed 
5
 
3.0PR16Q3 
dmiguelez
Core
No
0032871: In Physical Inventory window, Update Quantity process deletes the line if there is no stock
The Update Quantity process in Physical Inventory window can be used to update the lines of a Physical Inventory to the current stock values of the selected warehouse and bin.

In the case that a given product doesn't have stock for the selected bin, the line is deleted. This is quite surprising, as users would most likely expect the amount to be updated to zero, instead of the line itself being completely deleted.
- Log in Openbravo, with user Openbravo.
- Open the Physical Inventory window.
- Create a Physical Inventory.
- Add one line, specifying product "Bebida energética 0.5 L"
- Click on the Update Quantity button.
- Notice that the line you just added is automatically deleted, instead of the amount being changed to zero.
No tags attached.
Issue History
2016-05-05 10:56marvintmNew Issue
2016-05-05 10:56marvintmAssigned To => Triage Finance
2016-05-05 10:56marvintmModules => Core
2016-05-05 10:56marvintmTriggers an Emergency Pack => No
2016-05-05 11:49aferrazStatusnew => scheduled
2016-05-05 11:49aferrazAssigned ToTriage Finance => aferraz
2016-05-05 11:50aferrazTarget Version => 3.0PR16Q3
2016-05-05 17:53hgbotCheckin
2016-05-05 17:53hgbotNote Added: 0086220
2016-05-05 17:53hgbotStatusscheduled => resolved
2016-05-05 17:53hgbotResolutionopen => fixed
2016-05-05 17:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5e154eda86d9b856120aa26388f2940b122c9769 [^]
2016-05-05 17:54dmiguelezReview Assigned To => dmiguelez
2016-05-05 17:54dmiguelezNote Added: 0086221
2016-05-05 17:54dmiguelezStatusresolved => closed
2016-06-17 19:37hudsonbotCheckin
2016-06-17 19:37hudsonbotNote Added: 0087522

Notes
(0086220)
hgbot   
2016-05-05 17:53   
Repository: erp/devel/pi
Changeset: 5e154eda86d9b856120aa26388f2940b122c9769
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu May 05 11:45:33 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5e154eda86d9b856120aa26388f2940b122c9769 [^]

Fixes issue 32871: Update Quantity process deletes lines with no stock

M_Inventory_ListUpdate process will update QtyBook and QuantityOrderBook to zero instead of delete inventory line in case it does not exist stock.

---
M src-db/database/model/functions/M_INVENTORY_LISTUPDATE.xml
---
(0086221)
dmiguelez   
2016-05-05 17:54   
Code Review + Testing Ok
(0087522)
hudsonbot   
2016-06-17 19:37   
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/0dc7be081b1c [^]
Maturity status: Test