Skip to content

Commit

Permalink
Update hr_timesheet_sheet.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteMeAsap authored Mar 22, 2024
1 parent 89cec56 commit 782a43e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hr_timesheet_sheet/models/hr_timesheet_sheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ def _get_possible_reviewers(self):
res |= self.env.ref("hr.group_hr_manager").users
elif self.review_policy == "timesheet_manager":
res |= self.env.ref("hr_timesheet.group_hr_timesheet_approver").users
res = res.filtered(lambda u: u.company_ids in self.company_id)
return res

def _get_timesheet_sheet_company(self):
Expand Down

0 comments on commit 782a43e

Please sign in to comment.