fixes in quotation - from opportunity

This commit is contained in:
Neil Trini Lasrado 2015-05-12 12:18:31 +05:30
parent 815cb8959a
commit c55edf18ad

View File

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