[FIX] Timesheet allows sign in in the future
lp bug: https://launchpad.net/bugs/676445 fixed bzr revid: mra@mra-laptop-20101210061404-xs52l3jkalw87fil
This commit is contained in:
parent
78d70bc5a5
commit
e20452310d
|
@ -289,7 +289,7 @@ class hr_timesheet_sheet(osv.osv):
|
|||
'draft': [('readonly', False)],
|
||||
'new': [('readonly', False)]}
|
||||
),
|
||||
'attendances_ids' : one2many_mod2('hr.attendance', 'sheet_id', 'Attendances', readonly=True, states={'draft':[('readonly',False)],'new':[('readonly',False)]}),
|
||||
'attendances_ids' : one2many_mod2('hr.attendance', 'sheet_id', 'Attendances', readonly=True,),
|
||||
'state' : fields.selection([
|
||||
('new', 'New'),
|
||||
('draft','Draft'),
|
||||
|
|
Loading…
Reference in New Issue