Stock on Hand can sometimes be negative

Description

When I was verifying OLMIS-4201, I noticed that the product's Stock on Hand can be below zero, which shouldn't be the case. This negative value is visible on all Stock Management screens, both on UI and in print, as visible on screenshots. The issue occurs also on demo-v3, so it's not a regression.

Reproduction steps:

  1. Execute the steps from the test case.

  2. The Stock on Hand for the product is below zero.

Expected results:

  • The value of the "Stock on Hand" field should never go below zero.

Environment

None

Assignee

Paulina Buzderewicz

Reporter

Joanna Bebak

Labels

Components

Sprint

None

Fix versions

Priority

Major
Configure