mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-02 06:29:54 +00:00
Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com> fix(manufacturing): apply work order status filter in job card (#53766)
This commit is contained in:
@@ -40,6 +40,14 @@ frappe.ui.form.on("Job Card", {
|
||||
};
|
||||
});
|
||||
|
||||
frm.set_query("work_order", function () {
|
||||
return {
|
||||
filters: {
|
||||
status: ["not in", ["Cancelled", "Closed", "Stopped"]],
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
frm.events.set_company_filters(frm, "target_warehouse");
|
||||
frm.events.set_company_filters(frm, "source_warehouse");
|
||||
frm.events.set_company_filters(frm, "wip_warehouse");
|
||||
|
||||
Reference in New Issue
Block a user