diff --git a/frappe/patches.txt b/frappe/patches.txt index b90d02e7bc..e4facb7e3d 100644 --- a/frappe/patches.txt +++ b/frappe/patches.txt @@ -210,4 +210,4 @@ frappe.patches.v14_0.set_document_expiry_default frappe.patches.v14_0.delete_data_migration_tool frappe.patches.v14_0.set_suspend_email_queue_default frappe.patches.v14_0.different_encryption_key -frappe.patches.v14_0.update_multistep_webforms #30-08-2022 +frappe.patches.v14_0.update_multistep_webforms diff --git a/frappe/patches/v14_0/update_multistep_webforms.py b/frappe/patches/v14_0/update_multistep_webforms.py index c87663c254..9919ef6e15 100644 --- a/frappe/patches/v14_0/update_multistep_webforms.py +++ b/frappe/patches/v14_0/update_multistep_webforms.py @@ -2,8 +2,6 @@ import frappe def execute(): - frappe.reload_doctype("Web Form") - if not frappe.db.has_column("Web Form", "is_multi_step_form"): return @@ -12,4 +10,3 @@ def execute(): for web_form_field in web_form_fields: if web_form_field.fieldtype == "Section Break" and web_form_field.idx != 1: frappe.db.set_value("Web Form Field", web_form_field.name, "fieldtype", "Page Break") - frappe.db.commit()