Add rename_field
This commit is contained in:
parent
d2b4ec5044
commit
7a5221bd95
@ -7,4 +7,6 @@ def execute():
|
||||
WHERE trim(coalesce(max_days_allowed, '')) = ''
|
||||
""")
|
||||
frappe.db.sql_ddl("""ALTER table `tabLeave Type` modify max_days_allowed int(8) NOT NULL""")
|
||||
frappe.reload_doc("hr", "doctype", "leave_type")
|
||||
rename_field("Leave Type", "max_days_allowed", "max_continuous_days_allowed")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user