zaviagodev / frappe

MIT License
0 stars 1 forks source link

Enhance Item Management to be able to add stock if untrack stock was selected before #221

Open John-zaviago opened 4 months ago

John-zaviago commented 4 months ago

https://apps.hosting.zaviago.com/app/item/test-admin

Objective: To improve the functionality of item management in ERPNext by adding the capability to manually add stock to items marked as not tracked.

Description: Currently, in the item doctype of ERPNext, when a user selects not to track stock for an item and creates it, the item becomes sellable without tracking stock changes. However, there is no provision to manually add stock to such items if the user later decides to manage stock for them.

This limitation occurs specifically when the user designates the item as "not a managed stock item." To address this issue and provide users with greater flexibility in managing their inventory, we propose adding a button or functionality to manually add stock to items that are not tracked.

Proposed Solution:

  1. Introduce a new button or option within the item doctype interface labeled "Add Stock" for items marked as not tracked.
  2. Upon selecting the "Add Stock" button, a modal or form will appear, allowing the user to specify the warehouse and quantity of stock to be added to the item.
  3. After entering the relevant details and confirming the action, the system will update the stock levels for the item accordingly, reflecting the newly added stock.

Expected Outcome:

By implementing this enhancement, we aim to improve the efficiency and usability of ERPNext for our users while providing them with the tools they need to effectively manage their inventory.