typo fix in journal_voucher.py

This commit is contained in:
Rushabh Mehta 2014-04-14 22:40:17 +05:30
parent 354b32177d
commit 549977bf4f

View File

@ -113,7 +113,7 @@ class JournalVoucher(AccountsController):
r = []
if self.cheque_no:
if self.cheque_date:
r.append(_('Reference #{0} dated {1}').fomrat(self.cheque_no, formatdate(self.cheque_date)))
r.append(_('Reference #{0} dated {1}').format(self.cheque_no, formatdate(self.cheque_date)))
else :
msgprint(_("Please enter Reference date"), raise_exception=1)