Fix new transaction entries issue

This commit is contained in:
Anand Doshi 2011-12-30 16:02:03 +05:30
parent eaa6d21691
commit 34b9f5b1e0

View File

@ -318,8 +318,8 @@ class DocType:
WHERE
docstatus < 2 AND
%(company_condition)s
creation >= '%(start_date)s' AND
creation <= '%(end_date)s'""" % args
DATE(creation) >= '%(start_date)s' AND
DATE(creation) <= '%(end_date)s'""" % args
return query