Skip to content

Commit

Permalink
fix: lead create opp from connection not working
Browse files Browse the repository at this point in the history
(cherry picked from commit 0dc518b)
  • Loading branch information
shariquerik authored and mergify[bot] committed Oct 21, 2024
1 parent 1fa9030 commit 9e56f21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions erpnext/crm/doctype/lead/lead.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9e56f21

Please sign in to comment.