From ba0a99deb0c535d74c133dbc18190285be38ef9c Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 20 Jul 2007 10:11:19 +0000 Subject: [PATCH] Bugfix for multi-company bzr revid: fp@tinyerp.com-d811d5cdf9b076f7f82acd70573deb2c9759c8d4 --- addons/hr_timesheet_sheet/hr_timesheet_sheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py index b781a6d616a..160d0e9f256 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py @@ -461,7 +461,7 @@ hr_timesheet_sheet_sheet_account() 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), + 'timesheet_range': fields.selection([('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."), } _defaults = {