Skip to content

Commit

Permalink
fix: remove EmployeeBoardingController (backport #32139) (#32191)
Browse files Browse the repository at this point in the history
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 13, 2022
1 parent 95da66a commit 944b8a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 196 deletions.
193 changes: 0 additions & 193 deletions erpnext/controllers/employee_boarding_controller.py

This file was deleted.

3 changes: 0 additions & 3 deletions erpnext/projects/doctype/project/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from frappe.utils import add_days, flt, get_datetime, get_time, get_url, nowtime, today

from erpnext import get_default_company
from erpnext.controllers.employee_boarding_controller import update_employee_boarding_status
from erpnext.controllers.queries import get_filters_cond
from erpnext.setup.doctype.holiday_list.holiday_list import is_holiday

Expand Down Expand Up @@ -43,7 +42,6 @@ def validate(self):
self.send_welcome_email()
self.update_costing()
self.update_percent_complete()
update_employee_boarding_status(self)

def copy_from_template(self):
"""
Expand Down Expand Up @@ -145,7 +143,6 @@ def is_row_updated(self, row, existing_task_data, fields):
def update_project(self):
"""Called externally by Task"""
self.update_percent_complete()
update_employee_boarding_status(self)
self.update_costing()
self.db_update()

Expand Down

0 comments on commit 944b8a0

Please sign in to comment.