Fixed Employee Birthday Report

This commit is contained in:
Anand Doshi 2014-07-02 17:35:00 +05:30
parent adfada707d
commit df7f1c17ac

View File

@ -33,6 +33,6 @@ def get_conditions(filters):
conditions += " and month(date_of_birth) = '%s'" % month
if filters.get("company"): conditions += " and company = '%s'" % \
filters["company"].repalce("'", "\'")
filters["company"].replace("'", "\\'")
return conditions