Merge pull request #5234 from MaxMorais/patch-3
get_address_display calling method error
This commit is contained in:
commit
2c49473df8
@ -8,7 +8,9 @@ frappe.ui.form.on("Opportunity", {
|
||||
customer: function(frm) {
|
||||
erpnext.utils.get_party_details(frm);
|
||||
},
|
||||
customer_address: erpnext.utils.get_address_display,
|
||||
customer_address: function(frm, cdt, cdn){
|
||||
erpnext.utils.get_address_display(frm, 'customer_address', 'address_display', false);
|
||||
},
|
||||
contact_person: erpnext.utils.get_contact_details,
|
||||
enquiry_from: function(frm) {
|
||||
frm.toggle_reqd("lead", frm.doc.enquiry_from==="Lead");
|
||||
|
Loading…
x
Reference in New Issue
Block a user