Merge pull request #1879 from anandpdoshi/anand-wip
Fixed Employee Birthday Report
This commit is contained in:
commit
843cdbe690
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user