mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
changed field contact_no to phone in lead details of transaction base
This commit is contained in:
@@ -153,7 +153,7 @@ class TransactionBase(DocListController):
|
|||||||
# Get Lead Details
|
# Get Lead Details
|
||||||
# -----------------------
|
# -----------------------
|
||||||
def get_lead_details(self, name):
|
def get_lead_details(self, name):
|
||||||
details = webnotes.conn.sql("select name, lead_name, address_line1, address_line2, city, country, state, pincode, territory, contact_no, mobile_no, email_id, company_name from `tabLead` where name = '%s'" %(name), as_dict = 1)
|
details = webnotes.conn.sql("select name, lead_name, address_line1, address_line2, city, country, state, pincode, territory, phone, mobile_no, email_id, company_name from `tabLead` where name = '%s'" %(name), as_dict = 1)
|
||||||
|
|
||||||
extract = lambda x: details and details[0] and details[0].get(x,'') or ''
|
extract = lambda x: details and details[0] and details[0].get(x,'') or ''
|
||||||
address_fields = [('','address_line1'),('\n','address_line2'),('\n','city'),(' ','pincode'),('\n','state'),('\n','country'),('\nPhone: ','contact_no')]
|
address_fields = [('','address_line1'),('\n','address_line2'),('\n','city'),(' ','pincode'),('\n','state'),('\n','country'),('\nPhone: ','contact_no')]
|
||||||
|
|||||||
Reference in New Issue
Block a user