From 61d07941b8d269ac243823c5d808a22f79d91d23 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Wed, 6 May 2020 16:46:49 +0530 Subject: [PATCH] feat: allow number cards in sync --- frappe/utils/dashboard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/utils/dashboard.py b/frappe/utils/dashboard.py index 43057be79a..9d31c8aa2d 100644 --- a/frappe/utils/dashboard.py +++ b/frappe/utils/dashboard.py @@ -90,6 +90,7 @@ def sync_dashboards(app=None): frappe.flags.in_import = True make_records(config.charts, "Dashboard Chart") make_records(config.dashboards, "Dashboard") + make_records(config.number_cards, "Number Cards") frappe.flags.in_import = False def make_records(config, doctype):