Show only active BOM in stock entry
This commit is contained in:
parent
fc155c7712
commit
aa87931172
@ -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
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user