communication print format bugfix

This commit is contained in:
Rushabh Mehta 2012-12-01 13:09:08 +05:30
parent f16bf42045
commit 79ed5d8c35

View File

@ -54,9 +54,9 @@ class DocType:
r = []
if self.doc.cheque_no :
if self.doc.cheque_date:
r.append('Via cheque #%s dated %s' % (self.doc.cheque_no, formatdate(self.doc.cheque_date)))
r.append('Via Reference #%s dated %s' % (self.doc.cheque_no, formatdate(self.doc.cheque_date)))
else :
msgprint("Please enter cheque date")
msgprint("Please enter Reference date")
raise Exception
for d in getlist(self.doclist, 'entries'):