Open John-zaviago opened 10 months ago
Please record video and paste it here - then @Fyn5 and @chomchuen will help review it. -
@chomchuen can you and Fyne help test this @Fyn5
@deviljutt If you check the documentation: Instead of permanently removing the item, hide it from tables while keeping a record of the deletion with status deleted - make sure that we have additional status so it changed to delete as in the requirement
Also check the Automated Stock Removal:
In cases where the item has a stock ledger entry or existing stock in the system, implement a server or client script to automate the removal of stock. Utilize Material Issue to remove the item from all warehouses where it currently exists.
Make sure you read it throughly so we are on the same page
About the status, Muzzamal can work on this,
About the stock @deviljutt plan to start on it 1 Feb 2024
Timeline for stock - 1 - 2 hours
Nabeel is going to update this to apps.hosting.
@John-zaviago its also on live server, with stock removal also active, please test it and you can assign 2nd part of it to show the status
So where does the item go to?` which doctype it will show up as deleted?
The item is deleted and also the stock issue automation is also working, checked and review.
But we need to change the status of the deleted item from Enable to deleted and then move the item to a custom doctype name "Trash" where in there you can revert or redo the soft deleted item back to the item
@deviljutt @Fyn5
https://apps.hosting.zaviago.com/app/soft-delete
@John-zaviago
Some issue on the architecture, let discuss this in a meeting
Issue Title: Enhance Item Deletion in ERPNext - Soft Delete and Automated Stock Removal
Issue Description: To provide more flexibility in managing items within ERPNext, we need to enhance the item deletion process. The goal is to introduce a soft delete mechanism for items connected with other documents and automate the removal of stock in cases where the item is associated with stock ledger entries or has existing stock in the system.
New Features:
Soft Delete for Connected Items:
Automated Stock Removal:
Implementation Steps:
Soft Delete for Connected Items:
Automated Stock Removal:
Expected Outcome:
Additional Information:
Labels:
Action Plan:
How to Test: