Merge pull request #3892 from expsa/ky_dev_odex25_hr

restrict check-in outside allowed working hours
This commit is contained in:
kchyounes19 2025-07-14 07:52:19 +01:00 committed by GitHub
commit 8c844bb44c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 4 deletions

View File

@ -79,12 +79,10 @@
'readonly': [('state', '!=', 'draft')]}"/>
</group>
<group colspan="2">
<field name="grace_hour_before_work" widget="float_time"
attrs="{'readonly': [('state', '!=', 'draft')]}"/>
<field name="grace_hour_before_work" widget="float_time"/>
</group>
<group colspan="2">
<field name="grace_hour_after_work" widget="float_time"
attrs="{'readonly': [('state', '!=', 'draft')]}"/>
<field name="grace_hour_after_work" widget="float_time"/>
</group>
</group>
<!--<group col="4" colspan="4">