A draft for physical inventory is still available after submission

Description

I noticed that the submitted draft is still available after returning to the physical inventories list.

But this only happens by going to Stock Management> Physical Inventory.
When I go to different tab (e.g. Home page) and go back to the list, the previous draft is not available.

Reproduction steps:

  1. Log in as administrator and go to Stock Management > Physical Inventory.

  2. Click the Start button next to any program.

  3. Open the same draft in two tabs.

  4. Fill in all required fields.

  5. Submit the physical inventory in one tab.

  6. Go to another tab and try to submit the same draft.

  7. An error occurs.

  8. Close the error and go to Stock Management > Physical Inventory.

  9. The previous draft is still visible.

  10. Click the Continue button and to submit the draft.

  11. There is an error that this physical inventory has already been submitted.

  12. Close the error and go to Stock Management > Physical Inventory.

  13. The previous draft is still visible.

  14. Go to Home page and go back to Stock Management> Physical Inventory.

  15. The previous draft is no longer visible.

Expected results:

  • After going to Stock Management> Physical Inventory the page should refresh.

Environment

None
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Joanna Szymańska

Labels