[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2012-07-12 23:29:44", 
  "modified_by": "Administrator", 
  "modified": "2012-12-27 14:03:00"
 }, 
 {
  "read_only": 0, 
  "in_create": 0, 
  "autoname": "field:partner_name", 
  "name": "__common__", 
  "module": "Setup", 
  "doctype": "DocType", 
  "document_type": "Master", 
  "description": "A third party distributor / dealer / commission agent / affiliate / reseller who sells the companies products for a commission."
 }, 
 {
  "name": "__common__", 
  "parent": "Sales Partner", 
  "doctype": "DocField", 
  "parenttype": "DocType", 
  "parentfield": "fields"
 }, 
 {
  "name": "__common__", 
  "parent": "Sales Partner", 
  "read": 1, 
  "doctype": "DocPerm", 
  "parenttype": "DocType", 
  "parentfield": "permissions"
 }, 
 {
  "name": "Sales Partner", 
  "doctype": "DocType"
 }, 
 {
  "description": "Note: You Can Manage Multiple Address or Contacts via Addresses & Contacts", 
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "Sales Partner Details", 
  "fieldname": "basic_info", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Sales Partner Name", 
  "oldfieldname": "partner_name", 
  "fieldname": "partner_name", 
  "fieldtype": "Data", 
  "search_index": 1, 
  "reqd": 1, 
  "permlevel": 0, 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Select", 
  "doctype": "DocField", 
  "label": "Partner Type", 
  "oldfieldname": "partner_type", 
  "permlevel": 0, 
  "fieldname": "partner_type", 
  "fieldtype": "Select", 
  "search_index": 0, 
  "options": "\nChannel Partner\nDistributor\nDealer\nAgent\nRetailer\nImplementation Partner\nReseller", 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Column Break", 
  "doctype": "DocField", 
  "width": "50%", 
  "fieldname": "column_break0", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Currency", 
  "doctype": "DocField", 
  "label": "Commission Rate", 
  "oldfieldname": "commission_rate", 
  "fieldname": "commission_rate", 
  "fieldtype": "Currency", 
  "reqd": 1, 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Territory", 
  "permlevel": 0, 
  "fieldname": "territory", 
  "fieldtype": "Link", 
  "reqd": 1, 
  "options": "Territory"
 }, 
 {
  "doctype": "DocField", 
  "label": "Address & Contacts", 
  "fieldname": "address_contacts", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "depends_on": "eval:doc.__islocal", 
  "doctype": "DocField", 
  "label": "Address Desc", 
  "permlevel": 0, 
  "fieldname": "address_desc", 
  "fieldtype": "HTML", 
  "options": "<em>Addresses will appear only when you save the customer</em>"
 }, 
 {
  "doctype": "DocField", 
  "label": "Address HTML", 
  "fieldname": "address_html", 
  "fieldtype": "HTML", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break1", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "depends_on": "eval:doc.__islocal", 
  "doctype": "DocField", 
  "label": "Contact Desc", 
  "permlevel": 0, 
  "fieldname": "contact_desc", 
  "fieldtype": "HTML", 
  "options": "<em>Contact Details will appear only when you save the customer</em>"
 }, 
 {
  "doctype": "DocField", 
  "label": "Contact HTML", 
  "fieldname": "contact_html", 
  "fieldtype": "HTML", 
  "permlevel": 1
 }, 
 {
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "Sales Partner Target", 
  "fieldname": "partner_target_details_section_break", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Table", 
  "doctype": "DocField", 
  "label": "Partner Target Detail", 
  "oldfieldname": "partner_target_details", 
  "permlevel": 0, 
  "fieldname": "partner_target_details", 
  "fieldtype": "Table", 
  "reqd": 0, 
  "options": "Target Detail"
 }, 
 {
  "description": "Select Budget Distribution to unevenly distribute targets across months.", 
  "oldfieldtype": "Link", 
  "doctype": "DocField", 
  "label": "Target Distribution", 
  "oldfieldname": "distribution_id", 
  "permlevel": 0, 
  "fieldname": "distribution_id", 
  "fieldtype": "Link", 
  "options": "Budget Distribution"
 }, 
 {
  "amend": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "submit": 0, 
  "write": 0, 
  "role": "Sales Manager", 
  "cancel": 0, 
  "permlevel": 1
 }, 
 {
  "amend": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "submit": 0, 
  "write": 0, 
  "report": 1, 
  "role": "Sales Manager", 
  "cancel": 0, 
  "permlevel": 0
 }, 
 {
  "amend": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "submit": 0, 
  "write": 0, 
  "role": "Sales User", 
  "cancel": 0, 
  "permlevel": 1
 }, 
 {
  "amend": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "submit": 0, 
  "write": 0, 
  "report": 1, 
  "role": "Sales User", 
  "cancel": 0, 
  "permlevel": 0
 }, 
 {
  "amend": 0, 
  "create": 1, 
  "doctype": "DocPerm", 
  "submit": 0, 
  "write": 1, 
  "report": 1, 
  "role": "Sales Master Manager", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "amend": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "submit": 0, 
  "write": 0, 
  "role": "Sales Master Manager", 
  "cancel": 0, 
  "permlevel": 1
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "cancel": 1, 
  "role": "System Manager", 
  "report": 1, 
  "permlevel": 0
 }, 
 {
  "create": 0, 
  "doctype": "DocPerm", 
  "write": 0, 
  "role": "System Manager", 
  "permlevel": 1
 }
]