添加功能

This commit is contained in:
zhou
2025-08-05 10:24:47 +08:00
parent 28d56357ac
commit bb29dc0a73
@@ -68,21 +68,21 @@
<group>
<field name="shift_id" domain="[('resource_id', '=', resource_id)]" context="{'tree_view_ref': 'yuthon_hr_attendance.view_yuthon_shift_context',
'search_view_ref': 'yuthon_hr_attendance.search_yuthon_shift_context',
'order': 'start_datetime asc',
'order': 'start_datetime desc',
'search_default_group_by_month': True,}"/>
<field name="return_id" domain="[('resource_id', '=', transferees_id)]" invisible="alternate_shifts != 'transferees'" context="{'tree_view_ref': 'yuthon_hr_attendance.view_yuthon_shift_context',
'search_view_ref': 'yuthon_hr_attendance.search_yuthon_shift_context',
'order': 'start_datetime asc',
'order': 'start_datetime desc',
'search_default_group_by_month': True,}"/>
</group>
<group>
<field name="shift_two_id" domain="[('resource_id', '=', resource_id)]" invisible="alternate_shifts != 'transferees'" context="{'tree_view_ref': 'yuthon_hr_attendance.view_yuthon_shift_context',
'search_view_ref': 'yuthon_hr_attendance.search_yuthon_shift_context',
'order': 'start_datetime asc',
'order': 'start_datetime desc',
'search_default_group_by_month': True,}"/>
<field name="return_two_id" domain="[('resource_id', '=', transferees_id)]" invisible="alternate_shifts != 'transferees'" context="{'tree_view_ref': 'yuthon_hr_attendance.view_yuthon_shift_context',
'search_view_ref': 'yuthon_hr_attendance.search_yuthon_shift_context',
'order': 'start_datetime asc',
'order': 'start_datetime desc',
'search_default_group_by_month': True,}"/>
</group>
</group>