Files
Odoo-Modules/fusion_clock/static/src/js
gsinghpal 2c8ad83d43 fix(fusion_clock): NFC clock-out shows gross worked time, not net-of-penalty
The result card showed x_fclk_net_hours = worked_hours − break − early-out
penalty minutes. Tapping out before the scheduled end adds a 15-min early-out
penalty to the break field, so short shifts clamped to 0 → "Worked 0h 0m".

Show GROSS attendance.worked_hours (the actual clock-in → clock-out elapsed
time) instead, and format adaptively (Xh Ym / Ym / Ys) so brief shifts and
quick tests don't all read 0. Net-of-deductions stays in the payroll reports.

Live as 19.0.3.11.5 (verified worked_hours computes correctly in the DB).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 18:59:10 -04:00
..
2026-02-27 14:32:32 -05:00
2026-03-01 14:42:49 -05:00
2026-02-27 14:32:32 -05:00
2026-02-27 14:32:32 -05:00
2026-03-16 08:14:56 -04:00
2026-03-17 13:32:08 -04:00
2026-05-23 07:53:41 -04:00
2026-03-16 08:14:56 -04:00