From 61e71d45fa52b0d9909de46c4282aa35d17dbf4c Mon Sep 17 00:00:00 2001 From: Frappe PR Bot Date: Mon, 6 Sep 2021 13:34:50 +0530 Subject: [PATCH] fix: Dont fetch Stopped/Cancelled MRs in Stock Entry Get Items dialog (#27326) (#27354) (cherry picked from commit 0f2a52078ca721211f24d35cdcb6cbc2446c3686) Co-authored-by: Marica --- 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 efbc12ce841..350af2b6004 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"));