-
Type: Bug Report
-
Status: New
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Data Management
-
Labels:None
-
Story Points:2
-
Copy Issue Key:
-
Patch Instructions:
Plan:
- store physical quantity in stock in QtyInStock field
- create migration SQL that will add up value from QtyReserved to QtyInStock field
- introduce QtyAvailable virtual/calculated field using QtyInStock - QtyReserved formula
- in places, where QtyInStock is used use QtyAvailable
- find places where QtyInStock field is updated and make it so, that it don't