To add products to quotes and invoices, we usually type the product names. Now, while typing, the matching items are listed from the Stock
app. This is where I’d like to add an extra piece of detail for the list of Items
.
In the drop-down list of Items
, I want to add the current Stock
that is available after the name of the Item
.
Things I anticipate are required to be changed:
- The Python response from the server must be updated or customised to include the current stock count
- The client-side JS must now append the received current stock count when the
Items
are shown to the user while typing
Your guidance would be appreciated. Thank you.
Update 1:
Am I looking the correct place if I am in,
$HOME/frappe-bench/apps/erpnext/erpnext/controller/query.py