17 lines
		
	
	
		
			394 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			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",
 | 
						|
	)
 |