brotherton-erpnext/erpnext/patches/v13_0/show_hr_payroll_deprecation_warning.py
2022-07-19 13:19:34 +05:30

17 lines
394 B
Python

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",
)