Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0050999Openbravo ERP04. Warehouse managementpublic2022-11-24 14:552023-02-19 23:12
philippe_mui 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
 
Google Chrome
Core
No
0050999: [AWO - Distribution Order OTF] Confirmed Quantity and Available Stock disappear with quantity = 0
When starting a distribution order on AWO, when a quantity is set to 0 and the user click on back button and don't remove the DO, when he reopens it, some info of the items with stock = 0 dissappear
Access to AWO
Create a DO and select 1 or several products
Type in “confirmed quantity” = 0
Select Back and don’t remove the DO
Reopened the DO
Current result : Informations disappear for all the items where stock is 0
- From Storage bin
- Available stock quantity
- Confirmed Quantity

Expected result : these fields should be displayed and the quantity 0 still visible
FASH
related to defect 0051053 closed AtulOpenbravo DO with negative stock blocked > Not enough quantity message 
? Untitled 82.mp4 (4,291,103) 2022-11-24 14:55
https://issues.openbravo.com/file_download.php?file_id=17876&type=bug
Issue History
2022-11-24 14:55philippe_muiNew Issue
2022-11-24 14:55philippe_muiAssigned To => Triage Omni WMS
2022-11-24 14:55philippe_muiFile Added: Untitled 82.mp4
2022-11-24 14:55philippe_muiWeb browser => Google Chrome
2022-11-24 14:55philippe_muiModules => Core
2022-11-24 14:55philippe_muiTriggers an Emergency Pack => No
2022-11-24 14:55philippe_muiTag Attached: FASH
2022-12-15 11:08vmromanosWeb browserGoogle Chrome => Google Chrome
2022-12-15 11:08vmromanosSeveritycritical => major
2022-12-15 11:58migueldejuanaNote Added: 0144738
2023-01-12 19:31AtulOpenbravoStatusnew => scheduled
2023-01-12 19:31AtulOpenbravoAssigned ToTriage Omni WMS => AtulOpenbravo
2023-01-13 07:21hgbotNote Added: 0145369
2023-01-13 09:35avicenteWeb browserGoogle Chrome => Google Chrome
2023-01-16 11:58AtulOpenbravoNote Added: 0145448
2023-01-17 15:52hgbotNote Added: 0145504
2023-01-17 15:52hgbotResolutionopen => fixed
2023-01-17 15:52hgbotStatusscheduled => closed
2023-01-17 15:52hgbotNote Added: 0145505
2023-01-17 15:52hgbotNote Added: 0145506
2023-02-13 08:05hgbotNote Added: 0146410
2023-02-13 08:07hgbotNote Added: 0146415
2023-02-13 08:07hgbotNote Added: 0146416
2023-02-13 08:08mtaalStatusclosed => new
2023-02-13 08:08mtaalResolutionfixed => open
2023-02-15 07:15hgbotNote Added: 0146551
2023-02-15 10:06AtulOpenbravoStatusnew => acknowledged
2023-02-15 10:06AtulOpenbravoStatusacknowledged => scheduled
2023-02-16 01:28rafarodaRelationship addedrelated to 0051053
2023-02-19 23:12hgbotResolutionopen => fixed
2023-02-19 23:12hgbotStatusscheduled => closed
2023-02-19 23:12hgbotNote Added: 0146731
2023-02-19 23:12hgbotNote Added: 0146732

Notes
(0144738)
migueldejuana   
2022-12-15 11:58   
When setting the Confirmed Quantity to 0, we are removing the reservation related to that Distribution Order Line. In this case, we should remove the Distribution Line.

In EnyoPOS and ReactPOS, when a line is decreased to 0, that lines is removed.
(0145369)
hgbot   
2023-01-13 07:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/33 [^]
(0145448)
AtulOpenbravo   
2023-01-16 11:58   
Test Plan
- Add a DO in AWO FE.
- Add products in DO.
- Try to reduce quantity in DO Line and make it ZERO.
- Realize that as soon as Qty is reduced to ZERO, line gets removed from DO.
Note: Quantity could be reduced from DO Line as well as Product Detail Card when we click the DO Line. In both cases when quantity is ZERO, it gets removed.
(0145504)
hgbot   
2023-01-17 15:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/33 [^]
(0145505)
hgbot   
2023-01-17 15:52   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders [^]
Changeset: e8e012269becf1b3796c478c53a9255aaf8a4ca1
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 16-01-2023 10:59:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/e8e012269becf1b3796c478c53a9255aaf8a4ca1 [^]

Fixes BUG-0050999: [AWO - Distribution Order OTF] Confirmed
Quantity and Available Stock disappear with quantity = 0

**Remove DO Line when QtyCount is being set as ZERO

---
M web/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/source/obawo-distributionorder-view.js
---
(0145506)
hgbot   
2023-01-17 15:52   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders [^]
Changeset: 7845d5b662e60d61c3faa8cb259269bc98c6ee9e
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 17-01-2023 08:43:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/7845d5b662e60d61c3faa8cb259269bc98c6ee9e [^]

Related to BUG-0050999: [AWO - Distribution Order OTF] Confirmed
Quantity and Available Stock disappear with quantity = 0

**Use === to compare qty with 0 instead of ==

---
M web/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/source/obawo-distributionorder-view.js
---
(0146410)
hgbot   
2023-02-13 08:05   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/43 [^]
(0146415)
hgbot   
2023-02-13 08:07   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders [^]
Changeset: b9942e7126070dd4b76cd40e0187a84edb81a352
Author: Martin Taal <martin.taal@openbravo.com>
Date: 13-02-2023 07:07:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/b9942e7126070dd4b76cd40e0187a84edb81a352 [^]

Revert "Related to BUG-0050999: [AWO - Distribution Order OTF] Confirmed"

---
M web/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/source/obawo-distributionorder-view.js
---
(0146416)
hgbot   
2023-02-13 08:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/43 [^]
(0146551)
hgbot   
2023-02-15 07:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/47 [^]
(0146731)
hgbot   
2023-02-19 23:12   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders [^]
Changeset: 9c4a2fa4031e97b77a5fc90db9bf0eac38780005
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 19-02-2023 22:12:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/9c4a2fa4031e97b77a5fc90db9bf0eac38780005 [^]

Fixes BUG-0050999: [AWO - Distribution Order OTF] Confirmed Quantity and Available Stock disappear with quantity = 0

---
M web/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/source/obawo-distributionorder-view.js
---
(0146732)
hgbot   
2023-02-19 23:12   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/47 [^]