Deactivated product becomes Active again after adding different product to the Physical Inventory.

Description

During regression testing I noticed that after deactivating product and adding different new product to the Physical Product, deactivated product becomes active again.

See example video: https://www.awesomescreenshot.com/video/8028965?key=ca73b6eafbee296921ef68833901d888

Pre-conditions:

  • Make sure that at least one product has Stock on Hand value equal 0, so the Deactivate option will be available.

Steps to reproduce:

  1. Logging into the application and navigating to Stock Management > Physical inventory.

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

  3. Click the "Deactivate" button next to the any Product with SOH = 0.

  4. Click the "Deactivate" button once again.

  5. Click the "Add Product" button.

  6. In “Add Products to Physical Inventory” page select new product, fill all required fields and click on the “Add” button.

  7. Fill Current Stock field with e.g. 5 and click on the “Add 1 items to Physical Inventory”

  8. Product “Deactivated” before becomes “Active” again.

Expected Behavior:

  • Deactivated product stays Deactivated after adding new products to the physical inventory table.

Environment

None

Checklists

Activity

Show:

Szymon Rujner March 25, 2022 at 3:35 PM

The issue is no longer reproducing

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

Details

Assignee

Reporter

Story Points

Original estimate

Time tracking

1h logged7h remaining

Sprint

Affects versions

Priority

Time Assistant

Created March 23, 2022 at 3:45 PM
Updated July 8, 2022 at 9:15 AM
Resolved March 25, 2022 at 3:36 PM

Flag notifications