Show only active BOM in stock entry

This commit is contained in:
Nabin Hait 2015-07-27 11:40:54 +05:30
parent fc155c7712
commit aa87931172

View File

@ -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
}
};
};