From 7e8cbf288c8e33d87206e047d0efe1fdda568993 Mon Sep 17 00:00:00 2001 From: Manas Solanki Date: Mon, 11 Jun 2018 14:25:27 +0530 Subject: [PATCH] Update cost_center.py --- erpnext/accounts/doctype/cost_center/cost_center.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/accounts/doctype/cost_center/cost_center.py b/erpnext/accounts/doctype/cost_center/cost_center.py index 88d8499b2e2..af9c8f77045 100644 --- a/erpnext/accounts/doctype/cost_center/cost_center.py +++ b/erpnext/accounts/doctype/cost_center/cost_center.py @@ -6,6 +6,8 @@ import frappe from frappe import _ from frappe.utils import cint, cstr from frappe.utils.nestedset import NestedSet +from erpnext.accounts.utils import validate_field_number + class CostCenter(NestedSet): nsm_parent_field = 'parent_cost_center'