restrict check-in outside allowed working hours
This commit is contained in:
parent
20eb2d292d
commit
a1a3f24382
|
|
@ -67,8 +67,6 @@
|
|||
attrs="{'required':[('is_full_day','=',True)],
|
||||
'invisible':[('is_full_day','=',False)],
|
||||
'readonly': [('state', '!=', 'draft')]}"/>
|
||||
<field name="grace_hour_before_work" widget="float_time"
|
||||
attrs="{'readonly': [('state', '!=', 'draft')]}"/>
|
||||
</group>
|
||||
<group string="Sign Out Period" attrs="{'invisible':[('is_full_day','=',False)]}" colspan="2">
|
||||
<field name="full_min_sign_out" widget="float_time"
|
||||
|
|
@ -79,7 +77,13 @@
|
|||
attrs="{'required':[('is_full_day','=',True)],
|
||||
'invisible':[('is_full_day','=',False)],
|
||||
'readonly': [('state', '!=', 'draft')]}"/>
|
||||
<field name="grace_hour_after_work" widget="float_time"
|
||||
</group>
|
||||
<group colspan="2">
|
||||
<field name="grace_hour_before_work" widget="float_time"
|
||||
attrs="{'readonly': [('state', '!=', 'draft')]}"/>
|
||||
</group>
|
||||
<group colspan="2">
|
||||
<field name="grace_hour_after_work" widget="float_time"
|
||||
attrs="{'readonly': [('state', '!=', 'draft')]}"/>
|
||||
</group>
|
||||
</group>
|
||||
|
|
|
|||
Loading…
Reference in New Issue