[IMP] hr_timesheet: removed the extra space
bzr revid: mtr@mtr-20110117092604-sy4hkiugo3prx3pe
This commit is contained in:
parent
028530f9eb
commit
60acda9965
|
@ -50,7 +50,6 @@ class report_custom(report_rml):
|
|||
user_id = emp_obj.browse(cr, uid, emp_id).user_id.id
|
||||
empl_name = emp_obj.browse(cr, uid, emp_id).name
|
||||
|
||||
|
||||
# Computing the dates (start of month: som, and end of month: eom)
|
||||
som = datetime.date(data['form']['year'], data['form']['month'], 1)
|
||||
eom = som + datetime.timedelta(lengthmonth(som.year, som.month))
|
||||
|
|
|
@ -91,7 +91,6 @@ class report_custom(report_rml):
|
|||
for id in data['form']['employee_ids']:
|
||||
user = emp_obj.browse(cr, uid, id).user_id.id
|
||||
empl_name = emp_obj.browse(cr, uid, id).name
|
||||
|
||||
if user:
|
||||
emp_xml += emp_create_xml(cr, user, som, eom, empl_name)
|
||||
# Computing the xml
|
||||
|
|
Loading…
Reference in New Issue