From 579a22ce258ffbe5bd6e68ce3b1e10077cb1fac0 Mon Sep 17 00:00:00 2001 From: marination Date: Fri, 3 Sep 2021 12:27:15 +0530 Subject: [PATCH] fix: Dont fetch Stopped/Cancelled MRs in Stock Entry Get Items dialog --- erpnext/stock/doctype/stock_entry/stock_entry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js index 908020d02ba7..c819d49f5096 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.js +++ b/erpnext/stock/doctype/stock_entry/stock_entry.js @@ -278,7 +278,7 @@ frappe.ui.form.on('Stock Entry', { get_query_filters: { docstatus: 1, material_request_type: ["in", allowed_request_types], - status: ["not in", ["Transferred", "Issued"]] + status: ["not in", ["Transferred", "Issued", "Cancelled", "Stopped"]] } }) }, __("Get Items From"));