diff --git a/frappe/utils/dashboard.py b/frappe/utils/dashboard.py index 9d31c8aa2d..ceb5ea758a 100644 --- a/frappe/utils/dashboard.py +++ b/frappe/utils/dashboard.py @@ -89,8 +89,8 @@ def sync_dashboards(app=None): if config: frappe.flags.in_import = True make_records(config.charts, "Dashboard Chart") - make_records(config.dashboards, "Dashboard") make_records(config.number_cards, "Number Cards") + make_records(config.dashboards, "Dashboard") frappe.flags.in_import = False def make_records(config, doctype):