From 3a18dea8a4331cddcf719c2e5e4ad4e3e1b55452 Mon Sep 17 00:00:00 2001 From: Prateeksha Singh Date: Wed, 7 Jun 2017 11:55:25 +0530 Subject: [PATCH] [fix][multiselect] don't show completed PRECs for a PINV (#9125) --- erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js index b48fb20d6f..cada95f2f6 100644 --- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js +++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js @@ -78,7 +78,7 @@ erpnext.accounts.PurchaseInvoice = erpnext.buying.BuyingController.extend({ }, get_query_filters: { docstatus: 1, - status: ["!=", "Closed"], + status: ["not in", ["Closed", "Completed"]], company: me.frm.doc.company, is_return: 0 }