[IMP] indentation of active ids of timesheet.py

bzr revid: shp@tinyerp.com-20121008051014-fvftsi2mt44abyyn
This commit is contained in:
pankita shah (Open ERP) 2012-10-08 10:40:14 +05:30
parent 12c0f14d39
commit 6761871c4e
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class report_custom(report_rml):
def create_xml(self, cr, uid, ids, datas, context=None):
obj_emp = pooler.get_pool(cr.dbname).get('hr.employee')
ids = datas['active_ids']
ids = datas['active_ids']
start_date = datetime.strptime(datas['form']['init_date'], '%Y-%m-%d')
end_date = datetime.strptime(datas['form']['end_date'], '%Y-%m-%d')
first_monday = start_date - relativedelta(days=start_date.date().weekday())