Skip to content

Commit

Permalink
no-else-return
Browse files Browse the repository at this point in the history
  • Loading branch information
LoisRForgeFlow committed Apr 28, 2017
1 parent d155079 commit cc5bccc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hr_holiday_notify_employee_manager/models/hr_holidays.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ def _get_approvers_to_notify(self):
company = self.employee_id.company_id
if company.leave_notify_manager and self.employee_id.parent_id:
return self.employee_id.parent_id
else:
return False
return False

@api.model
def create(self, vals):
Expand Down

0 comments on commit cc5bccc

Please sign in to comment.