fix: patch

This commit is contained in:
Saurabh
2022-12-26 12:22:34 +05:30
parent bc04e05b46
commit 7b813d6045

View File

@@ -13,8 +13,10 @@ from erpnext.payroll.doctype.salary_structure_assignment.salary_structure_assign
def execute():
frappe.reload_doc("Payroll", "doctype", "Payroll Settings")
frappe.reload_doc("Payroll", "doctype", "Salary Structure")
frappe.reload_doc("Payroll", "doctype", "Salary Structure Assignment")
frappe.db.sql(
"""
delete from `tabSalary Structure Assignment`