msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
20 stars 12 forks source link

Outbound Shipment: Unit Price incorrect, when multiple lines are grouped #4765

Open jmbrunskill opened 1 week ago

jmbrunskill commented 1 week ago

What went wrong? 😲

image

image

Expected behaviour 🤔

Unit Price should either say Multiple if there is more than one price attached, or should be calculated as an average cost?

How to Reproduce 🔨

Steps to reproduce the behaviour:

  1. Create outbound shipment
  2. Select stock from two stock lines
  3. click Group By Item button
  4. Check if the Unit Price is correct

Your environment 🌱

lache-melvin commented 1 week ago

Setting as normal, seeing as its only a display issue, but it's pretty confusing, and shouldn't be hard to fix. Also, when grouped by item, Pack Qty column shouldn't be 0!

Have left needs triage label, but think we should try to clean these things up for 2.2.2 patch!