fix: lead create opp from connection not working

(cherry picked from commit 0dc518b1c3)
This commit is contained in:
Shariq Ansari
2024-10-21 20:16:35 +05:30
committed by Mergify
parent 1fa9030aee
commit 9e56f213a3

View File

@@ -7,9 +7,9 @@ cur_frm.email_field = "email_id";
erpnext.LeadController = class LeadController extends frappe.ui.form.Controller {
setup() {
this.frm.make_methods = {
Customer: this.make_customer,
Quotation: this.make_quotation,
Opportunity: this.make_opportunity,
Customer: this.make_customer.bind(this),
Quotation: this.make_quotation.bind(this),
Opportunity: this.make_opportunity.bind(this),
};
// For avoiding integration issues.