mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 15:09:20 +00:00
filter added for closed oppurtunity
This commit is contained in:
@@ -34,7 +34,7 @@ erpnext.selling.QuotationController = erpnext.selling.SellingController.extend({
|
|||||||
method: "erpnext.crm.doctype.opportunity.opportunity.make_quotation",
|
method: "erpnext.crm.doctype.opportunity.opportunity.make_quotation",
|
||||||
source_doctype: "Opportunity",
|
source_doctype: "Opportunity",
|
||||||
get_query_filters: {
|
get_query_filters: {
|
||||||
status: ["!=", "Lost"],
|
status: ["not in", ["Lost", "Closed"]],
|
||||||
enquiry_type: cur_frm.doc.order_type,
|
enquiry_type: cur_frm.doc.order_type,
|
||||||
customer: cur_frm.doc.customer || undefined,
|
customer: cur_frm.doc.customer || undefined,
|
||||||
lead: cur_frm.doc.lead || undefined,
|
lead: cur_frm.doc.lead || undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user