Salutation and Gender in Lead and Customer (#9199)

This commit is contained in:
KanchanChauhan
2017-06-13 15:26:35 +05:30
committed by Rushabh Mehta
parent 797f2030f8
commit 1dc26b127b
18 changed files with 173 additions and 43 deletions

View File

@@ -24,7 +24,7 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
this.frm.set_query("shipping_address", function() {
if(me.frm.doc.customer) {
return {
query: 'frappe.geo.doctype.address.address.address_query',
query: 'frappe.contacts.doctype.address.address.address_query',
filters: { link_doctype: 'Customer', link_name: me.frm.doc.customer }
};
} else