chore: Add HR & Payroll deprecation warning (#31720)

This commit is contained in:
Rucha Mahabal
2022-07-28 11:43:49 +05:30
committed by GitHub
parent 31824c2280
commit 9985d28571
2 changed files with 17 additions and 0 deletions

View File

@@ -371,3 +371,4 @@ erpnext.patches.v13_0.add_cost_center_in_loans
erpnext.patches.v13_0.show_india_localisation_deprecation_warning
erpnext.patches.v13_0.fix_number_and_frequency_for_monthly_depreciation
erpnext.patches.v13_0.reset_corrupt_defaults
erpnext.patches.v13_0.show_hr_payroll_deprecation_warning

View File

@@ -0,0 +1,16 @@
import click
import frappe
def execute():
if "hrms" in frappe.get_installed_apps():
return
click.secho(
"HR and Payroll modules have been moved to a separate app"
" and will be removed from ERPNext in Version 14."
" Please install the HRMS app when upgrading to Version 14"
" to continue using the HR and Payroll modules:\n"
"https://github.com/frappe/hrms",
fg="yellow",
)