Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0052382Openbravo ERP04. Warehouse managementpublic2023-05-08 13:572023-05-17 09:21
XABIER_AGUADO 
AtulOpenbravo 
normalmajoralways
closedfixed 
5
 
 
Core
No
0052382: Available stock is moving when doing a DOi
The Available Stock information is different between the 'Add product' one and the 'Line' one

Video: https://drive.google.com/file/d/1BfJrHdDVAa3-iqEQHw6DFCmuq1Ky6qSy/view?usp=share_link [^]
Do a DOi OTF from Backoffice, have 'Confirm stock reservation' unselected
Save the DOi
Log in on AWO
On the menu go to 'Distribution order' and look up the one you just created
Open it
Add the product Chinese Plum (150 Units)
After adding it it shows 149
After fidgeting and clicking around with the line for a bit it shows 150
Show the right available stock
FASH
related to defect 0052615 new Triage Omni WMS Modules When Confirm Stock Reservation is No in DO, Available Stock is not properly shown when there is reserved stock for product 
png MOVEMENTSKO.png (850,964) 2023-05-08 13:57
https://issues.openbravo.com/file_download.php?file_id=18502&type=bug
Issue History
2023-05-08 13:57XABIER_AGUADONew Issue
2023-05-08 13:57XABIER_AGUADOAssigned To => Triage Omni WMS
2023-05-08 13:57XABIER_AGUADOFile Added: MOVEMENTSKO.png
2023-05-08 13:57XABIER_AGUADOModules => Core
2023-05-08 13:57XABIER_AGUADOTriggers an Emergency Pack => No
2023-05-08 13:57XABIER_AGUADOTag Attached: FASH
2023-05-08 13:59XABIER_AGUADOProposed Solution updated
2023-05-10 20:17AtulOpenbravoAssigned ToTriage Omni WMS => AtulOpenbravo
2023-05-10 20:17AtulOpenbravoStatusnew => acknowledged
2023-05-10 20:17AtulOpenbravoStatusacknowledged => scheduled
2023-05-11 16:11hgbotNote Added: 0149626
2023-05-17 09:21hgbotNote Added: 0149853
2023-05-17 09:21hgbotResolutionopen => fixed
2023-05-17 09:21hgbotStatusscheduled => closed
2023-05-17 09:21hgbotNote Added: 0149854
2023-05-17 09:21hgbotNote Added: 0149855
2023-05-31 07:35AtulOpenbravoRelationship addedrelated to 0052615

Notes
(0149626)
hgbot   
2023-05-11 16:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/64 [^]
(0149853)
hgbot   
2023-05-17 09:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/64 [^]
(0149854)
hgbot   
2023-05-17 09:21   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders [^]
Changeset: a5ea4409b00040d9e6e282d04aee03aa32b7887e
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 11-05-2023 19:34:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/a5ea4409b00040d9e6e282d04aee03aa32b7887e [^]

Fixes BUG-0052382: Available stock is moving when doing a DOi

**When confirmStockReservation is set as No in DO Header, set
qtyReserved as ZERO

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/mobile/processors/DistributionOrderEventsProcessor.java
M web/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/source/obawo-distributionorder-model.js
---
(0149855)
hgbot   
2023-05-17 09:21   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders [^]
Changeset: 07e02740ff0c510c07d9d347b52345137497acfe
Author: Sandra Huguet <sandra.huguet@openbravo.com>
Date: 15-05-2023 13:27:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/07e02740ff0c510c07d9d347b52345137497acfe [^]

related to ISSUE-52382 code review

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/mobile/processors/DistributionOrderEventsProcessor.java
---