mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 09:05:00 +00:00
Merge pull request #20691 from prssanna/opportunity-fix
fix: set query on change in opportunity_from value
This commit is contained in:
@@ -59,6 +59,7 @@ frappe.ui.form.on("Opportunity", {
|
||||
contact_person: erpnext.utils.get_contact_details,
|
||||
|
||||
opportunity_from: function(frm) {
|
||||
frm.trigger('setup_queries');
|
||||
frm.toggle_reqd("party_name", frm.doc.opportunity_from);
|
||||
frm.trigger("set_dynamic_field_label");
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user