feat(fusion_clock): default clock-in/out times as 12-hour AM/PM dropdowns

People aren't good with 24h. Default Clock-In/Out are now AM/PM dropdowns (15-min
grid) instead of 24h float_time inputs. Stored value stays the float-string
(e.g. '9.0'), so all downstream float(get_param(...)) reads are unchanged;
persisted manually with get-snap for any off-grid value. Bump 19.0.4.0.3.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-05-31 22:47:12 -04:00
parent 914c96a09a
commit 2ab59bccde
3 changed files with 48 additions and 11 deletions

View File

@@ -19,11 +19,11 @@
<div class="content-group">
<div class="row mt16">
<label for="fclk_default_clock_in_time" string="Clock-In" class="col-lg-5 o_light_label"/>
<field name="fclk_default_clock_in_time" widget="float_time"/>
<field name="fclk_default_clock_in_time"/>
</div>
<div class="row mt8">
<label for="fclk_default_clock_out_time" string="Clock-Out" class="col-lg-5 o_light_label"/>
<field name="fclk_default_clock_out_time" widget="float_time"/>
<field name="fclk_default_clock_out_time"/>
</div>
</div>
</setting>