mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-18 19:07:55 +00:00
Production Order Documentation for Required Items table (#9647)
This commit is contained in:
committed by
Makarand Bauskar
parent
ddd4845420
commit
02c8607d04
@@ -34,6 +34,15 @@ frappe.ui.form.on("Production Order", {
|
||||
}
|
||||
});
|
||||
|
||||
frm.set_query("scrap_warehouse", function() {
|
||||
return {
|
||||
filters: {
|
||||
'company': frm.doc.company,
|
||||
'is_group': 0
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Set query for BOM
|
||||
frm.set_query("bom_no", function() {
|
||||
if (frm.doc.production_item) {
|
||||
|
||||
Reference in New Issue
Block a user