chore: Remove HR/Payroll related setups and fixtures

- Fixtures moved to HRMS app

- 'HR' field in Terms and Conditions removed, added via HRMS setup
This commit is contained in:
Rucha Mahabal
2022-06-17 16:34:13 +05:30
parent 4b3fb83850
commit fbc1330ab0
7 changed files with 2 additions and 344 deletions

View File

@@ -59,21 +59,6 @@ def set_default_settings(args):
delivery_settings.dispatch_template = _("Dispatch Notification")
delivery_settings.save()
hr_settings = frappe.get_doc("HR Settings")
hr_settings.emp_created_by = "Naming Series"
hr_settings.leave_approval_notification_template = _("Leave Approval Notification")
hr_settings.leave_status_notification_template = _("Leave Status Notification")
hr_settings.send_interview_reminder = 1
hr_settings.interview_reminder_template = _("Interview Reminder")
hr_settings.remind_before = "00:15:00"
hr_settings.send_interview_feedback_reminder = 1
hr_settings.feedback_reminder_notification_template = _("Interview Feedback Reminder")
hr_settings.exit_questionnaire_notification_template = _("Exit Questionnaire Notification")
hr_settings.save()
def set_no_copy_fields_in_variant_settings():
# set no copy fields of an item doctype to item variant settings