From 24946ee4e0d1e31b35a05d92df107c21b7d4bbf7 Mon Sep 17 00:00:00 2001 From: Saurabh Date: Sat, 20 Jan 2018 04:28:35 +0530 Subject: [PATCH] Codacy fix --- erpnext/selling/doctype/customer/customer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/doctype/customer/customer.js b/erpnext/selling/doctype/customer/customer.js index 0f8602a9be..2dbbdf1051 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){