From 0f2a52078ca721211f24d35cdcb6cbc2446c3686 Mon Sep 17 00:00:00 2001 From: Marica Date: Mon, 6 Sep 2021 13:14:09 +0530 Subject: [PATCH] fix: Dont fetch Stopped/Cancelled MRs in Stock Entry Get Items dialog (#27326) --- 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 908020d02ba..c819d49f509 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"));