diff --git a/erpnext/selling/doctype/customer/customer.js b/erpnext/selling/doctype/customer/customer.js index 2dbbdf10516..16f0fafc674 100644 --- a/erpnext/selling/doctype/customer/customer.js +++ b/erpnext/selling/doctype/customer/customer.js @@ -63,7 +63,7 @@ frappe.ui.form.on("Customer", { frappe.dynamic_link = {doc: frm.doc, fieldname: 'name', doctype: 'Customer'} - frm.toggle_display(['address_html','contact_html'], !frm.doc.__islocal); + frm.toggle_display(['address_html','contact_html','primary_address_and_contact_detail'], !frm.doc.__islocal); if(!frm.doc.__islocal) { frappe.contacts.render_address_and_contact(frm); diff --git a/erpnext/selling/doctype/customer/customer.json b/erpnext/selling/doctype/customer/customer.json index 7e2c6580224..1a104b543b0 100644 --- a/erpnext/selling/doctype/customer/customer.json +++ b/erpnext/selling/doctype/customer/customer.json @@ -725,7 +725,8 @@ "bold": 0, "collapsible": 0, "columns": 0, - "fieldname": "primary_contact_detail", + "description": "Select, to make the customer searchable with these fields", + "fieldname": "primary_address_and_contact_detail", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, @@ -1417,7 +1418,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2018-01-20 02:07:05.098742", + "modified": "2018-01-25 12:20:24.665219", "modified_by": "Administrator", "module": "Selling", "name": "Customer",