feat(fusion_clock): show NFC clock-in/out photos on the attendance form
The kiosk captures and stores a photo on every tap (x_fclk_check_in_photo / x_fclk_check_out_photo on hr.attendance), but no view displayed those — the form only showed the legacy portal field x_fclk_checkin_photo, so the NFC photos were invisible in the UI. Add a "Verification Photos" group showing the clock-in and clock-out photos (plus the legacy portal photo), each hidden when empty. (The activity log has no image field — photos live on the attendance.) Live as 19.0.3.11.6. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
{
|
||||
'name': 'Fusion Clock',
|
||||
'version': '19.0.3.11.5',
|
||||
'version': '19.0.3.11.6',
|
||||
'category': 'Human Resources/Attendances',
|
||||
'summary': 'Complete Employee T&A with Geofencing, Shifts, Penalties, Overtime, Kiosk, Dashboard & Payroll Export',
|
||||
'description': """
|
||||
|
||||
@@ -46,9 +46,14 @@
|
||||
<field name="x_fclk_is_overtime"/>
|
||||
</group>
|
||||
</group>
|
||||
<group string="Check-In Photo" name="fusion_clock_photo"
|
||||
invisible="not x_fclk_checkin_photo">
|
||||
<field name="x_fclk_checkin_photo" widget="image" class="oe_avatar"/>
|
||||
<group string="Verification Photos" name="fusion_clock_photo"
|
||||
invisible="not x_fclk_check_in_photo and not x_fclk_check_out_photo and not x_fclk_checkin_photo">
|
||||
<field name="x_fclk_check_in_photo" widget="image" string="Clock-In Photo"
|
||||
options="{'size': [200, 200]}" invisible="not x_fclk_check_in_photo"/>
|
||||
<field name="x_fclk_check_out_photo" widget="image" string="Clock-Out Photo"
|
||||
options="{'size': [200, 200]}" invisible="not x_fclk_check_out_photo"/>
|
||||
<field name="x_fclk_checkin_photo" widget="image" string="Portal Check-In Photo"
|
||||
options="{'size': [200, 200]}" invisible="not x_fclk_checkin_photo"/>
|
||||
</group>
|
||||
<group string="Penalties" name="fusion_clock_penalties"
|
||||
invisible="not x_fclk_penalty_ids">
|
||||
|
||||
Reference in New Issue
Block a user