summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authormtr <mtr@mtr>2011-01-17 15:13:53 +0530
committermtr <mtr@mtr>2011-01-17 15:13:53 +0530
commitbfea6901f16f1203f7bf6ac168d74a2037cf2869 (patch)
tree93e2c4aa75aa0323e3918da4791b64455625ec54 /addons
parent00683a79af4c0dce838f47b7d5ac7ba05f3bb5d6 (diff)
[IMP] hr_timesheet:added space(Enter)
bzr revid: mtr@mtr-20110117094353-1eaz08p2ckgmjquo
Diffstat (limited to 'addons')
-rwxr-xr-xaddons/hr_timesheet/report/user_timesheet.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/hr_timesheet/report/user_timesheet.py b/addons/hr_timesheet/report/user_timesheet.py
index e177fc189cc..25a389639e6 100755
--- a/addons/hr_timesheet/report/user_timesheet.py
+++ b/addons/hr_timesheet/report/user_timesheet.py
@@ -49,6 +49,7 @@ class report_custom(report_rml):
emp_obj = pooler.get_pool(cr.dbname).get('hr.employee')
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))