From d67e5ca42fd678d0a68da2d8a0de8dec37c61777 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Sat, 20 Dec 2008 06:11:16 +0100 Subject: [PATCH] bugfix bzr revid: fp@tinyerp.com-20081220051116-mz11ck1kj0ygpazb --- addons/hr_timesheet_sheet/hr_timesheet_sheet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py index ebcf1996764..78aec8304bf 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py @@ -664,8 +664,7 @@ class res_company(osv.osv): _inherit = 'res.company' _columns = { 'timesheet_range': fields.selection( - [('day','Day'),('week','Week'),('month','Month'),('year','Year')], 'Timeshet range', - required=True), + [('day','Day'),('week','Week'),('month','Month'),('year','Year')], 'Timeshet range'), 'timesheet_max_difference': fields.float('Timesheet allowed difference', help="Allowed difference between the sign in/out and the timesheet " \ "computation for one sheet. Set this to 0 if you do not want any control."),