mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 13:38:27 +00:00
feat: check for on hold sales order
This commit is contained in:
@@ -32,6 +32,14 @@ frappe.ui.form.on("Work Order", {
|
||||
}
|
||||
});
|
||||
|
||||
frm.set_query("sales_order", function() {
|
||||
return {
|
||||
filters: {
|
||||
"status": ["not in", ["Closed", "On Hold"]]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
frm.set_query("fg_warehouse", function() {
|
||||
return {
|
||||
filters: {
|
||||
|
||||
Reference in New Issue
Block a user