Bugfix for multi-company

bzr revid: fp@tinyerp.com-d811d5cdf9b076f7f82acd70573deb2c9759c8d4
This commit is contained in:
Fabien Pinckaers
2007-07-20 10:11:19 +00:00
parent 1affdedfd3
commit ba0a99deb0
@@ -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 = {