Merge pull request #10826 from saurabh6790/salary_struct_fix_1
Salary struct fix
This commit is contained in:
commit
0396674d0d
@ -2,4 +2,4 @@ import frappe
|
||||
|
||||
def execute():
|
||||
if 'employee' in frappe.db.get_table_columns("Salary Structure"):
|
||||
frappe.db.sql("alter table `tabEmployee` drop column employee")
|
||||
frappe.db.sql("alter table `tabSalary Structure` drop column employee")
|
||||
|
Loading…
Reference in New Issue
Block a user