Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 382 Bytes

File metadata and controls

6 lines (5 loc) · 382 Bytes

This module extends the standard timesheet approver rules so that a user with the group User: all timesheets can also manage the timesheets of their subordinate employees (i.e. employees whose Manager field points to the approver).

It updates the timesheet_line_rule_approver record rule to include the clause ('employee_id.parent_id.user_id', 'in', (False, user.id)).