diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js index 04ef935732c..22652e6820a 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.js +++ b/erpnext/stock/doctype/stock_entry/stock_entry.js @@ -10,7 +10,10 @@ erpnext.stock.StockEntry = erpnext.stock.StockController.extend({ this.frm.fields_dict.bom_no.get_query = function() { return { - filters:{ 'docstatus': 1 } + filters:{ + "docstatus": 1, + "is_active": 1 + } }; };