diff --git a/erpnext/stock/dashboard/item_dashboard.py b/erpnext/stock/dashboard/item_dashboard.py index 980fae2e9f7..80afe31cf37 100644 --- a/erpnext/stock/dashboard/item_dashboard.py +++ b/erpnext/stock/dashboard/item_dashboard.py @@ -2,8 +2,7 @@ from __future__ import unicode_literals import frappe from frappe.model.db_query import DatabaseQuery -from frappe.model.meta import get_field_precision -from frappe.utils import flt +from frappe.utils import flt, cint @frappe.whitelist() def get_data(item_code=None, warehouse=None, item_group=None,