fix: don't hide primary_address_and_contact_detail (#20322)

This commit is contained in:
Himanshu 2020-01-16 13:39:29 +05:30 committed by Nabin Hait
parent bcb6130bbe
commit e3afe8a73c

View File

@ -103,7 +103,7 @@ frappe.ui.form.on("Customer", {
}
frappe.dynamic_link = {doc: frm.doc, fieldname: 'name', doctype: 'Customer'}
frm.toggle_display(['address_html','contact_html','primary_address_and_contact_detail'], !frm.doc.__islocal);
frm.toggle_display(['address_html','contact_html'], !frm.doc.__islocal);
if(!frm.doc.__islocal) {
frappe.contacts.render_address_and_contact(frm);