From 8a2e6f427b7aa091c0c4a47a6e0c89ca64656469 Mon Sep 17 00:00:00 2001 From: mbauskar Date: Fri, 14 Apr 2017 17:50:32 +0530 Subject: [PATCH] [minor] if address is not found then set the address_field to '' instead of None --- erpnext/public/js/utils/party.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/utils/party.js b/erpnext/public/js/utils/party.js index d132f92f78..19fe2775b3 100644 --- a/erpnext/public/js/utils/party.js +++ b/erpnext/public/js/utils/party.js @@ -90,7 +90,7 @@ erpnext.utils.get_address_display = function(frm, address_field, display_field, } }) } else { - frm.set_value(display_field, null); + frm.set_value(display_field, ''); } };