I would like to be able to search via brand and see how much stock is available here
Yes, you can search for items by brand. To do that, you need to add the ‘brand’ field to the ‘Search Fields’ in the customized form of the ‘Item’ doctype.
Okay this worked. Thankyou! Any idea on how to show stock in the search like I showed?
Hi @zeeeeeeeero ,
I’m not sure but I think you need to override the add multiple function to include the available stock of the item, or you may only require this function in the sales invoice. In that case, it would be better to add a custom button, such as add multiple, using the MultiSelectDialog Dialog API.
You Can refer the add multiple function:
You Can refer the MultiSelectDialog:
Can I add this code from the GUI without changing the source code of my custom app?
I think you need this in the Sales Invoice only, so it’s better to hide this button and create your own using the Dialog API. Have mentioned the link already.