Regular requisitions can't be approved when only non full supply products are provided

Description

I noticed an issue when I was testing OLMIS-6612, although it occurs also for Family Planning. After skipping all products in the Full Supply tab and adding at least one Non Full Supply product, the requisition can't be approved. It can be submitted, authorized and rejected, though. It's probable that it's not a bug but desired behavior but I'm not sure. The issue occurs on both browsers. Please look at the screenshots.

Reproduction steps:

  1. Initiate a regular requisition for Family Planning.

  2. Skip all products in the Full Supply tab.

  3. Add at least one Non Full Supply product.

  4. Submit and authorize the requisition.

  5. Try to approve the requisition.

  6. The requisition isn't approved. Instead, errors on the UI and in the console occur.

Expected results:

  • It should be possible to approve regular requisitions even if only non-full supply products are provided.

Environment

None

Status

Assignee

Unassigned

Reporter

Joanna Bebak

Labels

Epic Link

Components

Priority

Major
Configure