Skip to content

Commit

Permalink
fix: list view setting patch
Browse files Browse the repository at this point in the history
  • Loading branch information
hasnain2808 committed Apr 1, 2021
1 parent 872151f commit 86ddc1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def execute():
if frappe.db.table_exists('List View Setting'):
if not frappe.db.table_exists('List View Settings'):
frappe.reload_doctype("List View Settings")
frappe.reload_doc("desk", "doctype", "List View Settings")

existing_list_view_settings = frappe.get_all('List View Settings', as_list=True)
for list_view_setting in frappe.get_all('List View Setting', fields = ['disable_count', 'disable_sidebar_stats', 'disable_auto_refresh', 'name']):
Expand Down

0 comments on commit 86ddc1b

Please sign in to comment.