mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +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() {
|
frm.set_query("fg_warehouse", function() {
|
||||||
return {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
|
|||||||
Reference in New Issue
Block a user