From 68a6d615895d3aa2e0e28818fe605ecbe3cd925b Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Wed, 20 May 2015 19:01:37 +0530 Subject: [PATCH] filter added for closed oppurtunity --- erpnext/selling/doctype/quotation/quotation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/doctype/quotation/quotation.js b/erpnext/selling/doctype/quotation/quotation.js index b02bff78746..d717e206750 100644 --- a/erpnext/selling/doctype/quotation/quotation.js +++ b/erpnext/selling/doctype/quotation/quotation.js @@ -34,7 +34,7 @@ erpnext.selling.QuotationController = erpnext.selling.SellingController.extend({ method: "erpnext.crm.doctype.opportunity.opportunity.make_quotation", source_doctype: "Opportunity", get_query_filters: { - status: ["!=", "Lost"], + status: ["not in", ["Lost", "Closed"]], enquiry_type: cur_frm.doc.order_type, customer: cur_frm.doc.customer || undefined, lead: cur_frm.doc.lead || undefined,