Merge pull request #14454 from frappe/manassolanki-patch-11

Update cost_center.py
This commit is contained in:
Manas Solanki
2018-06-11 14:25:50 +05:30
committed by GitHub

View File

@@ -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'