[IMP] indentation of active ids of timesheet.py
bzr revid: shp@tinyerp.com-20121008051014-fvftsi2mt44abyyn
This commit is contained in:
parent
12c0f14d39
commit
6761871c4e
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue