Skip to content

When issuing an item in an Outbound Shipment, quantity does not update between switching measurementsΒ #10370

@marthakeezy

Description

@marthakeezy

What went wrong? 😲

I have an item which I can issue in Doses, Packs or Packs of 2

For Doses and Packs, available quantity is 74, whereas Packs of 2 is 37

When I issue in Doses or Packs, Available and In Store quantities show correctly βœ…
I switch to Packs of 2 -> Available and In Store quantities show halved which is also correct βœ…
I switch back to Doses/Packs -> quantity does not update and stays halved 🚫
(Even though I can still issue the amount higher, so it's just the display that does not get updated)

Screen.Recording.2026-02-03.at.2.14.27.PM.mov

Expected behaviour πŸ€”

Numbers should update promptly when switching between different measurements

How to Reproduce πŸ”¨

Steps to reproduce the behaviour:

  1. Have an item that you can issue in different ways, for example - doses, packs, packs of 2 like in my example
  2. Go to Distribution -> Outbound Shipments -> new shipment
  3. Add an item you are testing with -> note quantity when issuing in Doses/Packs (for example, 100)
  4. Switch to Packs of 2 -> note quantity changed to half of whatever you had (for example, 50)
  5. Switch back to original measurements -> note the quantity did not update
  6. You can still issue the amount higher, as soon as you type in the quantity - display updates

Your environment 🌱

  • Open mSupply Version: 2.16.00-develop-02021609
  • Legacy mSupply Central Server Version: V8.06.12
  • Platform: Google Chrome (browser for Mac)
  • Database type: PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions