Removed cstr in return for get_server_fields()

This commit is contained in:
Nabin Hait
2011-08-17 10:50:57 +05:30
parent 192db6a7cd
commit d075a6c53d
11 changed files with 15 additions and 15 deletions

View File

@@ -31,7 +31,7 @@ class DocType:
def get_address(self):
add=sql("Select address from `tab%s` where name='%s'"%(self.doc.master_type,self.doc.master_name))
ret={'address':add[0][0]}
return cstr(ret)
return ret
# check whether master name entered for supplier/customer