Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052513
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2023-05-22 16:302023-06-06 13:36
Reporterphilippe_muiView Statuspublic 
Assigned Tocberner 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052513: RM-6419 [Inventory count] Theoritical stock is changing

DescriptionWhen doing an inventory count in AWO of 2 products and a sale is done at the same time on one of them, the theoretical stock of the item A is adjusted.
However, when clicking on the line of the product B, the theoretical stock of product A is changing back

See video https://drive.google.com/file/d/1kD-lwho9xtcvrJ0WPpAzOeFtRulMiHBd/view?usp=share_link [^]

https://openbravo.atlassian.net/browse/RM-6419 [^]
Steps To ReproduceCreate the IC wtih product A and product B.
Modify the stock of product A (sale, reception, DO OTF).
Go back on the IC and see the theoritical stock update.

Current result : stock is moving. When the theoritical stock is updated, the theoritical stock is OK. But when you select the line of product B, the theoritical stock goes back wrong.

Expected result : to have the true theoritical stock update when clicking on the line and that it doesn't change when clicking on another line
TagsFASH
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0150208)
mtaal (manager)
2023-05-24 13:03
edited on: 2023-05-24 13:15

This case seems to happen when sales happen in parallel to inventory count.

The thing to check is why the value moves back to the old value. The use case might be less valid but it might hide another issue with the UI which needs to be resolved.

(0150672)
hgbot (developer)
2023-06-02 14:47

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/138 [^]
(0150803)
hgbot (developer)
2023-06-06 13:22

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/70 [^]
(0150806)
hgbot (developer)
2023-06-06 13:36

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: 1aa16f731f97f7b76bc70467379f0a6af8c6f731
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 06-06-2023 13:20:21
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/1aa16f731f97f7b76bc70467379f0a6af8c6f731 [^]

Fixes ISSUE-52513: Theoretical stock is changing

Problem was that the stock was not properly matched in the two models of
the state: InventoryCount and OngoingDocuments, although when a
synchronization finishes the ongoing documents is properly updated, the
InventoryCount model was not.

The main reason for this was due to selectedLine event generating a
syncrhonization event, which shouldn't. As part of this it was removed
frorm the InventoryCount model, as it is not required.

---
M web/org.openbravo.warehouse.advancedwarehouseoperations/app/model/business-object/inventory-count/InventoryCount.js
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/inventorycount/obawo-inventorycount-view.js
---
(0150807)
hgbot (developer)
2023-06-06 13:36

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/138 [^]
(0150808)
hgbot (developer)
2023-06-06 13:36

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/70 [^]
(0150809)
hgbot (developer)
2023-06-06 13:36

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders [^]
Changeset: 162fe2bd8c6581f3d01c935e954e1e8b59f79474
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 06-06-2023 13:21:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/162fe2bd8c6581f3d01c935e954e1e8b59f79474 [^]

Related to ISSUE-52513: Theoretical stock was changing on line selection

---
M web/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/app/model/business-object/distribution-order/DistributionOrder.js
M web/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/source/obawo-distributionorder-view.js
---

- Issue History
Date Modified Username Field Change
2023-05-22 16:30 philippe_mui New Issue
2023-05-22 16:30 philippe_mui Assigned To => Triage Omni WMS
2023-05-22 16:30 philippe_mui Modules => Core
2023-05-22 16:30 philippe_mui Triggers an Emergency Pack => No
2023-05-22 16:30 philippe_mui Tag Attached: FASH
2023-05-22 16:31 philippe_mui Summary [Inventory count] Theoritical stock is changing => RM-6419 [Inventory count] Theoritical stock is changing
2023-05-22 16:31 philippe_mui Description Updated View Revisions
2023-05-24 13:03 mtaal Note Added: 0150208
2023-05-24 13:15 mtaal Note Edited: 0150208 View Revisions
2023-05-25 07:31 AtulOpenbravo Status new => scheduled
2023-05-25 07:31 AtulOpenbravo Assigned To Triage Omni WMS => AtulOpenbravo
2023-06-02 08:46 mtaal Assigned To AtulOpenbravo => cberner
2023-06-02 14:47 hgbot Note Added: 0150672
2023-06-06 13:22 hgbot Note Added: 0150803
2023-06-06 13:36 hgbot Resolution open => fixed
2023-06-06 13:36 hgbot Status scheduled => closed
2023-06-06 13:36 hgbot Note Added: 0150806
2023-06-06 13:36 hgbot Note Added: 0150807
2023-06-06 13:36 hgbot Note Added: 0150808
2023-06-06 13:36 hgbot Note Added: 0150809


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker