[FIX] Bug 368698 : Warning resolved(ref:.GPA)

bzr revid: jvo@tinyerp.com-20090501095606-te74htk5inczcmit
This commit is contained in:
Jay (Open ERP) 2009-05-01 15:26:06 +05:30
parent 0a80db1ee3
commit 25177a0fe5
1 changed files with 2 additions and 2 deletions

View File

@ -369,7 +369,7 @@ class hr_timesheet_line(osv.osv):
elif (x[2] is False) and (x[1] == '<>' or x[1] == '!='):
qu1.append('(s.id IS NOT NULL)')
else:
qu1.append('(s.id %s %s)' % (x[1], '%d'))
qu1.append('(s.id %s %s)' % (x[1], '%s'))
qu2.append(x[2])
elif x[1] == 'in':
if len(x[2]) > 0:
@ -486,7 +486,7 @@ class hr_attendance(osv.osv):
elif (x[2] is False) and (x[1] == '<>' or x[1] == '!='):
qu1.append('(s.id IS NOT NULL)')
else:
qu1.append('(s.id %s %s)' % (x[1], '%d'))
qu1.append('(s.id %s %s)' % (x[1], '%s'))
qu2.append(x[2])
elif x[1] == 'in':
if len(x[2]) > 0: