replaced convert_to_lists

This commit is contained in:
Anand Doshi
2012-11-30 17:24:54 +05:30
parent ea61d8cf99
commit eaed03d010
6 changed files with 21 additions and 21 deletions

View File

@@ -127,7 +127,7 @@ class DocType(TransactionBase):
def get_contacts(self,nm):
if nm:
contact_details =convert_to_lists(sql("select name, CONCAT(IFNULL(first_name,''),' ',IFNULL(last_name,'')),contact_no,email_id from `tabContact` where supplier = '%s'"%nm))
contact_details =webnotes.conn.convert_to_lists(sql("select name, CONCAT(IFNULL(first_name,''),' ',IFNULL(last_name,'')),contact_no,email_id from `tabContact` where supplier = '%s'"%nm))
return contact_details
else: