"Approved quantity" not equal to "Calc Order Qty ISA" after approval of stock based requisition

Description

While executing OLMIS-4185, when one create, submit, authorize a stock based requisition with empty "Requested quantity" for products, the "Approved quantity" should be equal to "Calc Order Qty ISA" by default. But currently it is not.

Reproduction steps

  1. Login to the application as vsrmanager1

  2. Create and submit a requisition without entering amounts into the "Requested quantity" fields

  3. Authorize requisition

  4. login as divo1

  5. View the same requisition for approval

Result
for each line item, "Approved quantity" should be equal to "Calc Order Qty ISA" but it shows zero

Expected behavior
"Approved quantity" should be equal to "Calc Order Qty ISA" by default if "Requested quantity" fields value is not provided when a requisition is submitted.

Environment

None

Assignee

Nikodem Graczewski

Reporter

Adugna Worku

Story Points

2

Time tracking

13h

Components

Sprint

None

Fix versions

Priority

Critical
Configure