fix: set query on change in opportunity_from value
This commit is contained in:
parent
eea0ffcb38
commit
3218730a16
@ -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");
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user