diff --git a/erpnext/selling/doctype/customer/customer.js b/erpnext/selling/doctype/customer/customer.js index 0f8602a9bea..2dbbdf10516 100644 --- a/erpnext/selling/doctype/customer/customer.js +++ b/erpnext/selling/doctype/customer/customer.js @@ -44,7 +44,7 @@ frappe.ui.form.on("Customer", { }, customer_primary_address: function(frm){ if(!frm.doc.customer_primary_address){ - frm.doc.primary_address = "" + frm.doc.primary_address = ""; } }, customer_primary_contact: function(frm){