User is able to submit Physical Inventory without filling all required fields

Description

Bug found during exploratory testing

Steps to Reproduce:

  1. Log in as Administrator and navigate to Stock Management → Physical Inventory;

  2. Click start/continue next to the Family Planning program;

  3. Fill Current Stock field for Levora with values equal Stock on Hand column;

  4. Left Current Stock field empty for all other products and click on the Submit button;

  5. “Physical inventory has invalid line items” error will appear;

  6. Close the error and click on the “Filter” button;

  7. in Keywords section write “Levora” and click on the Search button;

  8. Click on the Submit button;

  9. Click on the print button;

  10. Physical inventory will be successfully submitted and pdf report will be blank

Expected Behavior:

  • Pdf report should not be blank;

  • Physical Inventory should not be submitted when there are blank fields in Current Stock field or value in Unaccounted Quantity not equals 0

Environment

None

Attachments

1

Activity

Aleksandra Hinc February 16, 2023 at 1:28 PM

This issue is still valid.

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Affects versions

Priority

Time Assistant

Created November 2, 2022 at 9:40 AM
Updated February 16, 2023 at 1:28 PM