Revert "Fix Custom Field In Standard Filter" (#2550)

This commit is contained in:
Rushabh Mehta 2017-01-05 18:20:50 +05:30 committed by GitHub
parent 0ec38cfdd2
commit fa4ec39bf3
3 changed files with 1 additions and 10 deletions

View file

@ -908,7 +908,7 @@
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "in_standard_filter",
"fieldname": "in_filter_dash",
"fieldtype": "Check",
"hidden": 0,
"ignore_user_permissions": 0,

View file

@ -149,4 +149,3 @@ frappe.patches.v7_1.disabled_print_settings_for_custom_print_format
frappe.patches.v7_2.set_doctype_engine
frappe.patches.v7_2.merge_knowledge_base
frappe.patches.v7_0.update_report_builder_json
frappe.patches.v7_2.custom_field_in_standard_filter_fix

View file

@ -1,8 +0,0 @@
import frappe
def execute():
frappe.reload_doc('custom', 'doctype', 'custom_field', force=True)
try:
frappe.db.sql('update `tabCustom Field` set in_standard_filter = in_filter_dash`')
except Exception, e:
if e.args[0]!=1054: raise e