[
 {
  "creation": "2013-04-10 11:45:37", 
  "docstatus": 0, 
  "modified": "2014-01-20 17:48:54", 
  "modified_by": "Administrator", 
  "owner": "Administrator"
 }, 
 {
  "allow_import": 1, 
  "autoname": "naming_series:", 
  "doctype": "DocType", 
  "document_type": "Master", 
  "icon": "icon-user", 
  "module": "Selling", 
  "name": "__common__", 
  "search_fields": "lead_name,lead_owner,status"
 }, 
 {
  "doctype": "DocField", 
  "name": "__common__", 
  "parent": "Lead", 
  "parentfield": "fields", 
  "parenttype": "DocType", 
  "permlevel": 0
 }, 
 {
  "amend": 0, 
  "cancel": 0, 
  "create": 1, 
  "doctype": "DocPerm", 
  "email": 1, 
  "name": "__common__", 
  "parent": "Lead", 
  "parentfield": "permissions", 
  "parenttype": "DocType", 
  "permlevel": 0, 
  "print": 1, 
  "read": 1, 
  "report": 1, 
  "submit": 0, 
  "write": 1
 }, 
 {
  "doctype": "DocType", 
  "name": "Lead"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "lead_details", 
  "fieldtype": "Section Break", 
  "label": "Lead Details", 
  "options": "icon-user"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "naming_series", 
  "fieldtype": "Select", 
  "label": "Series", 
  "no_copy": 1, 
  "oldfieldname": "naming_series", 
  "oldfieldtype": "Select", 
  "options": "LEAD\nLEAD/10-11/\nLEAD/MUMBAI/", 
  "reqd": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "lead_name", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "in_list_view": 1, 
  "label": "Contact Name", 
  "oldfieldname": "lead_name", 
  "oldfieldtype": "Data", 
  "reqd": 1, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "company_name", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "in_list_view": 1, 
  "label": "Organization Name", 
  "oldfieldname": "company_name", 
  "oldfieldtype": "Data", 
  "reqd": 0, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "email_id", 
  "fieldtype": "Data", 
  "label": "Email Id", 
  "oldfieldname": "email_id", 
  "oldfieldtype": "Data", 
  "reqd": 0, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cb6", 
  "fieldtype": "Column Break"
 }, 
 {
  "default": "Lead", 
  "doctype": "DocField", 
  "fieldname": "status", 
  "fieldtype": "Select", 
  "in_filter": 1, 
  "in_list_view": 1, 
  "label": "Status", 
  "no_copy": 1, 
  "oldfieldname": "status", 
  "oldfieldtype": "Select", 
  "options": "Lead\nOpen\nReplied\nOpportunity\nInterested\nConverted\nDo Not Contact", 
  "reqd": 1, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "source", 
  "fieldtype": "Select", 
  "in_filter": 1, 
  "in_list_view": 1, 
  "label": "Source", 
  "no_copy": 1, 
  "oldfieldname": "source", 
  "oldfieldtype": "Select", 
  "options": "\nAdvertisement\nBlog Post\nCampaign\nCall\nCustomer\nExhibition\nSupplier\nWebsite\nEmail", 
  "reqd": 0, 
  "search_index": 0
 }, 
 {
  "depends_on": "eval:doc.source == 'Customer'", 
  "doctype": "DocField", 
  "fieldname": "customer", 
  "fieldtype": "Link", 
  "hidden": 0, 
  "label": "From Customer", 
  "oldfieldname": "customer", 
  "oldfieldtype": "Link", 
  "options": "Customer"
 }, 
 {
  "depends_on": "eval:doc.source == 'Campaign'", 
  "description": "Enter campaign name if the source of lead is campaign.", 
  "doctype": "DocField", 
  "fieldname": "campaign_name", 
  "fieldtype": "Link", 
  "hidden": 0, 
  "label": "Campaign Name", 
  "oldfieldname": "campaign_name", 
  "oldfieldtype": "Link", 
  "options": "Campaign"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "communication_history", 
  "fieldtype": "Section Break", 
  "label": "Communication", 
  "options": "icon-comments", 
  "print_hide": 1
 }, 
 {
  "default": "__user", 
  "doctype": "DocField", 
  "fieldname": "lead_owner", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "label": "Lead Owner", 
  "oldfieldname": "lead_owner", 
  "oldfieldtype": "Link", 
  "options": "User", 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "col_break123", 
  "fieldtype": "Column Break", 
  "width": "50%"
 }, 
 {
  "allow_on_submit": 0, 
  "doctype": "DocField", 
  "fieldname": "contact_by", 
  "fieldtype": "Link", 
  "hidden": 0, 
  "in_filter": 1, 
  "label": "Next Contact By", 
  "oldfieldname": "contact_by", 
  "oldfieldtype": "Link", 
  "options": "User", 
  "print_hide": 0, 
  "reqd": 0, 
  "width": "100px"
 }, 
 {
  "allow_on_submit": 0, 
  "description": "Add to calendar on this date", 
  "doctype": "DocField", 
  "fieldname": "contact_date", 
  "fieldtype": "Date", 
  "in_filter": 1, 
  "label": "Next Contact Date", 
  "no_copy": 1, 
  "oldfieldname": "contact_date", 
  "oldfieldtype": "Date", 
  "reqd": 0, 
  "width": "100px"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sec_break123", 
  "fieldtype": "Section Break", 
  "options": "Simple"
 }, 
 {
  "allow_on_submit": 0, 
  "doctype": "DocField", 
  "fieldname": "communication_html", 
  "fieldtype": "HTML", 
  "label": "Communication HTML", 
  "oldfieldname": "follow_up", 
  "oldfieldtype": "Table"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "contact_info", 
  "fieldtype": "Section Break", 
  "label": "Address & Contact", 
  "oldfieldtype": "Column Break", 
  "options": "icon-map-marker"
 }, 
 {
  "depends_on": "eval:doc.__islocal", 
  "doctype": "DocField", 
  "fieldname": "address_desc", 
  "fieldtype": "HTML", 
  "hidden": 0, 
  "label": "Address Desc", 
  "options": "<em>Addresses will appear only when you save the lead</em>", 
  "print_hide": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "address_html", 
  "fieldtype": "HTML", 
  "hidden": 0, 
  "label": "Address HTML", 
  "print_hide": 0, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break2", 
  "fieldtype": "Column Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "phone", 
  "fieldtype": "Data", 
  "label": "Phone", 
  "oldfieldname": "contact_no", 
  "oldfieldtype": "Data", 
  "reqd": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "mobile_no", 
  "fieldtype": "Data", 
  "label": "Mobile No.", 
  "oldfieldname": "mobile_no", 
  "oldfieldtype": "Data"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "fax", 
  "fieldtype": "Data", 
  "label": "Fax", 
  "oldfieldname": "fax", 
  "oldfieldtype": "Data"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "website", 
  "fieldtype": "Data", 
  "label": "Website", 
  "oldfieldname": "website", 
  "oldfieldtype": "Data"
 }, 
 {
  "description": "<a href=\"#Sales Browser/Territory\">Add / Edit</a>", 
  "doctype": "DocField", 
  "fieldname": "territory", 
  "fieldtype": "Link", 
  "label": "Territory", 
  "oldfieldname": "territory", 
  "oldfieldtype": "Link", 
  "options": "Territory", 
  "print_hide": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "more_info", 
  "fieldtype": "Section Break", 
  "label": "More Info", 
  "oldfieldtype": "Section Break", 
  "options": "icon-file-text"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "type", 
  "fieldtype": "Select", 
  "in_filter": 1, 
  "label": "Lead Type", 
  "oldfieldname": "type", 
  "oldfieldtype": "Select", 
  "options": "\nClient\nChannel Partner\nConsultant"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "market_segment", 
  "fieldtype": "Select", 
  "hidden": 0, 
  "in_filter": 1, 
  "label": "Market Segment", 
  "oldfieldname": "market_segment", 
  "oldfieldtype": "Select", 
  "options": "\nLower Income\nMiddle Income\nUpper Income", 
  "reqd": 0, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "industry", 
  "fieldtype": "Link", 
  "label": "Industry", 
  "oldfieldname": "industry", 
  "oldfieldtype": "Link", 
  "options": "Industry Type"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "request_type", 
  "fieldtype": "Select", 
  "label": "Request Type", 
  "oldfieldname": "request_type", 
  "oldfieldtype": "Select", 
  "options": "\nProduct Enquiry\nRequest for Information\nSuggestions\nOther"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "fiscal_year", 
  "fieldtype": "Select", 
  "hidden": 1, 
  "in_filter": 1, 
  "label": "Fiscal Year", 
  "oldfieldname": "fiscal_year", 
  "oldfieldtype": "Select", 
  "options": "link:Fiscal Year"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break3", 
  "fieldtype": "Column Break", 
  "oldfieldtype": "Column Break", 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "company", 
  "fieldtype": "Link", 
  "label": "Company", 
  "oldfieldname": "company", 
  "oldfieldtype": "Link", 
  "options": "Company", 
  "reqd": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "unsubscribed", 
  "fieldtype": "Check", 
  "label": "Unsubscribed"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "blog_subscriber", 
  "fieldtype": "Check", 
  "label": "Blog Subscriber"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "communications", 
  "fieldtype": "Table", 
  "hidden": 1, 
  "label": "Communications", 
  "options": "Communication", 
  "print_hide": 1
 }, 
 {
  "delete": 1, 
  "doctype": "DocPerm", 
  "role": "Sales Manager"
 }, 
 {
  "delete": 0, 
  "doctype": "DocPerm", 
  "role": "Sales User"
 }
]