=== modified file hr_timesheet_sheet/wizard/hr_timesheet_current.py --- hr_timesheet_sheet/wizard/hr_timesheet_current.py 2011-01-14 00:11:01 +0000 +++ hr_timesheet_sheet/wizard/hr_timesheet_current.py 2011-06-08 15:53:12 +0000 @@ -36,7 +36,7 @@ user_ids = self.pool.get('hr.employee').search(cr, uid, [('user_id','=',uid)], context=context) if not len(user_ids): raise osv.except_osv(_('Error !'), _('No employee defined for your user !')) - ids = ts.search(cr, uid, [('user_id','=',uid),('state','=','draft'),('date_from','<=',time.strftime('%Y-%m-%d')), ('date_to','>=',time.strftime('%Y-%m-%d'))], context=context) + ids = ts.search(cr, uid, [('user_id','=',uid),('date_from','<=',time.strftime('%Y-%m-%d')), ('date_to','>=',time.strftime('%Y-%m-%d'))], context=context) if len(ids) > 1: view_type = 'tree,form'