mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
Merge pull request #3245 from neilLasrado/opportunity
fixes in quotation - from opportunity button didn't work
This commit is contained in:
@@ -34,8 +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: {
|
||||||
docstatus: 1,
|
status: ["not in", ["Lost", "Closed"]],
|
||||||
status: "Submitted",
|
|
||||||
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