mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
Show only active BOM in stock entry
This commit is contained in:
@@ -10,7 +10,10 @@ erpnext.stock.StockEntry = erpnext.stock.StockController.extend({
|
|||||||
|
|
||||||
this.frm.fields_dict.bom_no.get_query = function() {
|
this.frm.fields_dict.bom_no.get_query = function() {
|
||||||
return {
|
return {
|
||||||
filters:{ 'docstatus': 1 }
|
filters:{
|
||||||
|
"docstatus": 1,
|
||||||
|
"is_active": 1
|
||||||
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user