diff --git a/erpnext/selling/doctype/quotation/quotation.js b/erpnext/selling/doctype/quotation/quotation.js index 1725de719e..b02bff7874 100644 --- a/erpnext/selling/doctype/quotation/quotation.js +++ b/erpnext/selling/doctype/quotation/quotation.js @@ -34,8 +34,7 @@ erpnext.selling.QuotationController = erpnext.selling.SellingController.extend({ method: "erpnext.crm.doctype.opportunity.opportunity.make_quotation", source_doctype: "Opportunity", get_query_filters: { - docstatus: 1, - status: "Submitted", + status: ["!=", "Lost"], enquiry_type: cur_frm.doc.order_type, customer: cur_frm.doc.customer || undefined, lead: cur_frm.doc.lead || undefined,