commit | 96962e2101230940cbb547f51a78d9f099c19183 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Tue Dec 16 11:57:11 2014 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Tue Dec 16 11:57:11 2014 +0530 |
tree | 603066aebd4481010353301c53e0c3a8080179b6 | |
parent | 437e34accb416d43b22fc973eaa8f56eeae4f698 [diff] | |
parent | 7eedebc970bb68d649ce7052038fbb34411d44d8 [diff] |
Merge pull request #2501 from nabinhait/fix1 Fecth contact details on change of contact in purchase transactions
diff --git a/erpnext/buying/doctype/purchase_common/purchase_common.js b/erpnext/buying/doctype/purchase_common/purchase_common.js index e21ff74..3681081 100644 --- a/erpnext/buying/doctype/purchase_common/purchase_common.js +++ b/erpnext/buying/doctype/purchase_common/purchase_common.js
@@ -71,7 +71,7 @@ }, contact_person: function() { - this.supplier_address(); + erpnext.utils.get_contact_details(this.frm); }, buying_price_list: function() {