[patch] remove employee name salary structure (#10817)
* [patch] remove employee name salary structure * Update remove_employee_from_salary_structure_parent.py
This commit is contained in:
parent
bc9006ff30
commit
2222f10720
@ -437,4 +437,5 @@ erpnext.patches.v8_7.fix_purchase_receipt_status
|
||||
erpnext.patches.v8_6.rename_bom_update_tool
|
||||
erpnext.patches.v8_9.set_print_zero_amount_taxes
|
||||
erpnext.patches.v8_9.set_default_customer_group
|
||||
erpnext.patches.v8_9.delete_gst_doctypes_for_outside_india_accounts
|
||||
erpnext.patches.v8_9.remove_employee_from_salary_structure_parent
|
||||
erpnext.patches.v8_9.delete_gst_doctypes_for_outside_india_accounts
|
||||
|
@ -0,0 +1,5 @@
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
if 'employee' in frappe.db.get_table_columns("Salary Structure"):
|
||||
frappe.db.sql("alter table `tabEmployee` drop column employee")
|
Loading…
x
Reference in New Issue
Block a user