feat: check for on hold sales order
This commit is contained in:
parent
4f350fcadb
commit
8f7c7a6882
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user