Open nishaDangol-Sussol opened 3 months ago
Have had a chat about this with @regotaina - this is intended behaviour... if the stock line has been completely repacked, it no longer exists. The new stock line was "introduced" via repack, so we can't say it was introduced via inbound shipment.
Potentially at some point, it could be cool that if stock was introduced via repack, show a link to the previous stock line?
However, seeing the stale stock line data after closing the repack modal is pretty confusing. Like in the video, after you repack, you are still looking at the details page of the stock line that does not exist anymore! If you repack all packs, you should probably be redirected back to the list view (maybe after a dialogue popup explaining?)
Potentially at some point, it could be cool that if stock was introduced via repack, show a link to the previous stock line?
This one sounds good to me: show a link to previous stock lines with some hover text like
This line was repacked from other line previously. Ledger of that line available at: Link to it's previous line
However, seeing the stale stock line data after closing the repack modal is pretty confusing. Like in the video, after you repack, you are still looking at the details page of the stock line that does not exist anymore! If you repack all packs, you should probably be redirected back to the list view (maybe after a dialogue popup explaining?)
Popup wouldn't be necessary if link to previous lines (after repacks) will be implemented I think
Triage: Changing to feature request, it looks like mSupply does the same thing ? Adding needs design label and leaving priority for triage meeting
What went wrong? š²
Is it possible to include previous inventory-adjustments under Ledger even after all of existing stocks have been repacked?
Expected behaviour š¤
can we include whole ledger despite of repacks (cause IMO previous logs like invads, shipments matter)?
How to Reproduce šØ
Steps to reproduce the behaviour:
View Stock
window and select that item and see Ledger tabAnd one more for discussion maybe:
Recordings Reference
https://github.com/msupply-foundation/open-msupply/assets/59193490/1eddf270-f04b-42ea-8031-c448b21c38dc
Your environment š±