Display Live Stock Amount Easily

I’m trying to either build a custom dashboard or chart that can show me “Stock at a glance”, showing stock amounts of items that I have in inventory without running a report. It could also be a table of Items that has a column showing the stock per warehouse. It’s important that this be a live amount, or at least live in the sense that it loads anytime I load the page.

Thanks!

In your client script, you can call the method , erpnext.stock.utils.get_stock_balance in frappe.call using item_code and warehouse as arguments.