From 7eedebc970bb68d649ce7052038fbb34411d44d8 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 16 Dec 2014 11:56:21 +0530 Subject: [PATCH] Fecth contact details on change of contact in purchase transactions --- erpnext/buying/doctype/purchase_common/purchase_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/buying/doctype/purchase_common/purchase_common.js b/erpnext/buying/doctype/purchase_common/purchase_common.js index e21ff740a7..3681081c95 100644 --- a/erpnext/buying/doctype/purchase_common/purchase_common.js +++ b/erpnext/buying/doctype/purchase_common/purchase_common.js @@ -71,7 +71,7 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({ }, contact_person: function() { - this.supplier_address(); + erpnext.utils.get_contact_details(this.frm); }, buying_price_list: function() {