mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 06:52:12 +00:00
fix: cannot create opp from lead without prospect
(cherry picked from commit 603383bca7)
This commit is contained in:
@@ -127,8 +127,8 @@ erpnext.LeadController = class LeadController extends frappe.ui.form.Controller
|
|||||||
fieldname: "prospect_name",
|
fieldname: "prospect_name",
|
||||||
fieldtype: "Data",
|
fieldtype: "Data",
|
||||||
default: frm.doc.company_name,
|
default: frm.doc.company_name,
|
||||||
reqd: 1,
|
|
||||||
depends_on: "create_prospect",
|
depends_on: "create_prospect",
|
||||||
|
mandatory_depends_on: "create_prospect",
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user