diff --git a/frappe/patches.txt b/frappe/patches.txt index e1e0a2dad4..4a0308287f 100644 --- a/frappe/patches.txt +++ b/frappe/patches.txt @@ -165,3 +165,4 @@ execute:frappe.rename_doc('Country', 'Tanzania, United Republic of', 'Tanzania', execute:frappe.rename_doc('Country', 'Syrian Arab Republic', 'Syria', ignore_if_exists=True) frappe.patches.v8_0.rename_listsettings_to_usersettings frappe.patches.v7_2.update_communications +frappe.patches.v8_0.drop_in_dialog diff --git a/frappe/patches/v8_0/drop_in_dialog.py b/frappe/patches/v8_0/drop_in_dialog.py new file mode 100644 index 0000000000..f1af338f08 --- /dev/null +++ b/frappe/patches/v8_0/drop_in_dialog.py @@ -0,0 +1,5 @@ +import frappe + +def execute(): + if frappe.db.has_column('DocType', 'in_dialog'): + frappe.db.sql('alter table tabDocType drop column in_dialog') \ No newline at end of file