{
 "allow_import": 1, 
 "allow_rename": 1, 
 "autoname": "field:territory_name", 
 "creation": "2013-01-10 16:34:24.000000", 
 "description": "Classification of Customers by region", 
 "docstatus": 0, 
 "doctype": "DocType", 
 "document_type": "Master", 
 "fields": [
  {
   "fieldname": "trash_reason", 
   "fieldtype": "Small Text", 
   "label": "Trash Reason", 
   "oldfieldname": "trash_reason", 
   "oldfieldtype": "Small Text", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "territory_name", 
   "fieldtype": "Data", 
   "label": "Territory Name", 
   "no_copy": 1, 
   "oldfieldname": "territory_name", 
   "oldfieldtype": "Data", 
   "permlevel": 0, 
   "reqd": 1
  }, 
  {
   "description": "<a href=\"#Sales Browser/Territory\">Add / Edit</a>", 
   "fieldname": "parent_territory", 
   "fieldtype": "Link", 
   "ignore_restrictions": 1, 
   "label": "Parent Territory", 
   "oldfieldname": "parent_territory", 
   "oldfieldtype": "Link", 
   "options": "Territory", 
   "permlevel": 0, 
   "reqd": 0
  }, 
  {
   "description": "Only leaf nodes are allowed in transaction", 
   "fieldname": "is_group", 
   "fieldtype": "Select", 
   "label": "Has Child Node", 
   "oldfieldname": "is_group", 
   "oldfieldtype": "Select", 
   "options": "\nYes\nNo", 
   "permlevel": 0, 
   "reqd": 1
  }, 
  {
   "fieldname": "cb0", 
   "fieldtype": "Column Break", 
   "permlevel": 0
  }, 
  {
   "description": "For reference", 
   "fieldname": "territory_manager", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "label": "Territory Manager", 
   "oldfieldname": "territory_manager", 
   "oldfieldtype": "Link", 
   "options": "Sales Person", 
   "permlevel": 0, 
   "search_index": 1
  }, 
  {
   "fieldname": "lft", 
   "fieldtype": "Int", 
   "hidden": 1, 
   "in_filter": 1, 
   "label": "lft", 
   "no_copy": 1, 
   "oldfieldname": "lft", 
   "oldfieldtype": "Int", 
   "permlevel": 0, 
   "print_hide": 1, 
   "report_hide": 0, 
   "search_index": 1
  }, 
  {
   "fieldname": "rgt", 
   "fieldtype": "Int", 
   "hidden": 1, 
   "in_filter": 1, 
   "label": "rgt", 
   "no_copy": 1, 
   "oldfieldname": "rgt", 
   "oldfieldtype": "Int", 
   "permlevel": 0, 
   "print_hide": 1, 
   "report_hide": 0, 
   "search_index": 1
  }, 
  {
   "description": "<a href=\"#Sales Browser/Territory\">Add / Edit</a>", 
   "fieldname": "old_parent", 
   "fieldtype": "Link", 
   "hidden": 1, 
   "ignore_restrictions": 1, 
   "label": "old_parent", 
   "no_copy": 1, 
   "oldfieldname": "old_parent", 
   "oldfieldtype": "Data", 
   "options": "Territory", 
   "permlevel": 0, 
   "print_hide": 1, 
   "report_hide": 1
  }, 
  {
   "description": "Set Item Group-wise budgets on this Territory. You can also include seasonality by setting the Distribution.", 
   "fieldname": "target_details_section_break", 
   "fieldtype": "Section Break", 
   "label": "Territory Targets", 
   "oldfieldtype": "Section Break", 
   "permlevel": 0
  }, 
  {
   "fieldname": "target_details", 
   "fieldtype": "Table", 
   "label": "Target Details", 
   "oldfieldname": "target_details", 
   "oldfieldtype": "Table", 
   "options": "Target Detail", 
   "permlevel": 0
  }, 
  {
   "description": "Select Budget Distribution to unevenly distribute targets across months.", 
   "fieldname": "distribution_id", 
   "fieldtype": "Link", 
   "label": "Target Distribution", 
   "oldfieldname": "distribution_id", 
   "oldfieldtype": "Link", 
   "options": "Budget Distribution", 
   "permlevel": 0
  }
 ], 
 "icon": "icon-map-marker", 
 "idx": 1, 
 "in_create": 1, 
 "modified": "2014-01-20 17:49:33.000000", 
 "modified_by": "Administrator", 
 "module": "Setup", 
 "name": "Territory", 
 "name_case": "Title Case", 
 "owner": "Administrator", 
 "permissions": [
  {
   "amend": 0, 
   "cancel": 0, 
   "create": 0, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Sales Manager", 
   "submit": 0, 
   "write": 0
  }, 
  {
   "amend": 0, 
   "cancel": 0, 
   "create": 0, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Sales User", 
   "submit": 0, 
   "write": 0
  }, 
  {
   "amend": 0, 
   "cancel": 0, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Sales Master Manager", 
   "submit": 0, 
   "write": 1
  }
 ], 
 "read_only": 1, 
 "search_fields": "name,parent_territory,territory_manager"
}