filter added for closed oppurtunity

This commit is contained in:
Neil Trini Lasrado 2015-05-20 19:01:37 +05:30
parent c55edf18ad
commit 68a6d61589

View File

@ -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,