Merge branch 'master' of git@github.com:webnotes/erpnext

This commit is contained in:
nabinhait
2011-06-14 13:35:31 +05:30
parent e79f87c5f7
commit e0250fbab6
109 changed files with 420 additions and 831 deletions

View File

@@ -25,7 +25,8 @@ class DocType:
if cust_master_name == 'Customer Name':
# filter out bad characters in name
cust = self.doc.customer_name.replace('&','and').replace('.','').replace("'",'').replace('"','').replace(',','').replace('`','')
#cust = self.doc.customer_name.replace('&','and').replace('.','').replace("'",'').replace('"','').replace(',','').replace('`','')
cust = self.doc.customer_name
supp = sql("select name from `tabSupplier` where name = %s", (cust))
supp = supp and supp[0][0] or ''