patch: do not run deletion patch if HRMS is already installed
This commit is contained in:
parent
466bf99835
commit
2da427c023
@ -2,6 +2,9 @@ import frappe
|
||||
|
||||
|
||||
def execute():
|
||||
if "hrms" in frappe.get_installed_apps():
|
||||
return
|
||||
|
||||
frappe.delete_doc("Module Def", "HR", ignore_missing=True, force=True)
|
||||
frappe.delete_doc("Module Def", "Payroll", ignore_missing=True, force=True)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user