Physical Inventory: Error with saving/refreshing the Unaccounted Quantity field Draft

Description

I noticed the error during testing .
The same error occurs after Adding Product from Physical Inventory screen with 0 Stock on hand.

Steps to reproduce:

  1. Logging into the application and navigating to Stock Management -> Physical Inventory;

  2. Click on the "Start" button next to Family Planning program;

  3. Fill all the Current Stock fields with values from Stock on Hand column;

  4. Once again go to Stock Management -> Physical Inventory;

  5. Click on the "Continue" button next to Family Planning program;

  6. The values in Unaccounted Quantity fields are blank;

  7. Click on the “Submit” button;

  8. The error modal will appear and all the “Add Reasons” and Unaccounted Quantity fields will have a red mark next to it.

Expected Behavior:

The values in Unaccounted Quantity field should also be saved in draft.

Environment

None

Attachments

2

Checklists

Activity

Show:

Szymon Rujner August 9, 2022 at 11:05 AM

  • Checked on Firefox and Chrome on UAT instance;

  • Issue is no longer reproducing;

  • The values in Unaccounted Quantity field are also saved in draft;

  • Added new Test Case.

Daria Pionk August 8, 2022 at 1:39 PM

this fix is already on UAT and is ready to test

Nikola Laskowska August 8, 2022 at 12:18 PM

merged, please make sure that these changes are properly built and deployed to test and uat instances

Daria Pionk August 8, 2022 at 12:09 PM

I updated changelog file

Nikola Laskowska August 8, 2022 at 7:11 AM

thanks, I left the comment under the review.

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

Details

Assignee

Reporter

Original estimate

Time tracking

1d 4h 30m logged3h 30m remaining

Components

Fix versions

Priority

Time Assistant

Created June 22, 2022 at 11:39 AM
Updated August 9, 2022 at 11:06 AM
Resolved August 9, 2022 at 11:06 AM