[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2012-12-07 15:15:26", 
  "modified_by": "Administrator", 
  "modified": "2012-12-27 14:02:01"
 }, 
 {
  "document_type": "Master", 
  "description": "Buyer of Goods and Services.", 
  "autoname": "naming_series:", 
  "allow_rename": 1, 
  "allow_print": 0, 
  "module": "Selling", 
  "doctype": "DocType", 
  "search_fields": "customer_name,customer_group,country,territory", 
  "name": "__common__"
 }, 
 {
  "name": "__common__", 
  "parent": "Customer", 
  "doctype": "DocField", 
  "parenttype": "DocType", 
  "parentfield": "fields"
 }, 
 {
  "name": "__common__", 
  "parent": "Customer", 
  "read": 1, 
  "doctype": "DocPerm", 
  "parenttype": "DocType", 
  "parentfield": "permissions"
 }, 
 {
  "name": "Customer", 
  "doctype": "DocType"
 }, 
 {
  "description": "Note: You Can Manage Multiple Address or Contacts via Addresses & Contacts", 
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "Basic Info", 
  "fieldname": "basic_info", 
  "fieldtype": "Section Break", 
  "reqd": 0, 
  "permlevel": 0
 }, 
 {
  "print_hide": 0, 
  "no_copy": 1, 
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Customer Name", 
  "oldfieldname": "customer_name", 
  "fieldname": "customer_name", 
  "fieldtype": "Data", 
  "search_index": 1, 
  "reqd": 1, 
  "hidden": 0, 
  "permlevel": 0, 
  "report_hide": 0, 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Select", 
  "doctype": "DocField", 
  "label": "Customer Type", 
  "oldfieldname": "customer_type", 
  "permlevel": 0, 
  "fieldname": "customer_type", 
  "fieldtype": "Select", 
  "reqd": 1, 
  "options": "\nCompany\nIndividual"
 }, 
 {
  "print_hide": 0, 
  "no_copy": 1, 
  "doctype": "DocField", 
  "label": "Series", 
  "permlevel": 0, 
  "fieldname": "naming_series", 
  "fieldtype": "Select", 
  "options": "\nCUST\nCUSTMUM"
 }, 
 {
  "print_hide": 1, 
  "description": "Fetch lead which will be converted into customer.", 
  "no_copy": 1, 
  "oldfieldtype": "Link", 
  "doctype": "DocField", 
  "label": "Lead Ref", 
  "oldfieldname": "lead_name", 
  "permlevel": 0, 
  "fieldname": "lead_name", 
  "fieldtype": "Link", 
  "hidden": 0, 
  "options": "Lead", 
  "report_hide": 1, 
  "in_filter": 1
 }, 
 {
  "doctype": "DocField", 
  "width": "50%", 
  "fieldname": "column_break0", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "print_hide": 0, 
  "description": "<a href=\"#!Sales Browser/Customer Group\">To manage Customer Groups, click here</a>", 
  "oldfieldtype": "Link", 
  "doctype": "DocField", 
  "label": "Customer Group", 
  "oldfieldname": "customer_group", 
  "permlevel": 0, 
  "fieldname": "customer_group", 
  "fieldtype": "Link", 
  "search_index": 1, 
  "reqd": 1, 
  "hidden": 0, 
  "options": "Customer Group", 
  "in_filter": 1
 }, 
 {
  "print_hide": 1, 
  "description": "<a href=\"#!Sales Browser/Territory\">To manage Territory, click here</a>", 
  "oldfieldtype": "Link", 
  "doctype": "DocField", 
  "label": "Territory", 
  "oldfieldname": "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", 
  "width": "50%", 
  "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>"
 }, 
 {
  "oldfieldtype": "HTML", 
  "doctype": "DocField", 
  "label": "Contact HTML", 
  "fieldname": "contact_html", 
  "fieldtype": "HTML", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "communication_history", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Communication HTML", 
  "fieldname": "communication_html", 
  "fieldtype": "HTML", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "More Info", 
  "fieldname": "more_info", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "width": "50%", 
  "fieldname": "column_break2", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "description": "To create an Account Head under a different company, select the company and save customer.", 
  "oldfieldtype": "Link", 
  "doctype": "DocField", 
  "label": "Company", 
  "oldfieldname": "company", 
  "options": "Company", 
  "fieldname": "company", 
  "fieldtype": "Link", 
  "search_index": 1, 
  "reqd": 1, 
  "permlevel": 0, 
  "in_filter": 1
 }, 
 {
  "doctype": "DocField", 
  "options": "Price List", 
  "fieldname": "default_price_list", 
  "fieldtype": "Link", 
  "label": "Default Price List", 
  "permlevel": 0
 }, 
 {
  "description": "This currency will get fetched in Sales transactions of this customer", 
  "no_copy": 1, 
  "doctype": "DocField", 
  "label": "Default Currency", 
  "permlevel": 0, 
  "fieldname": "default_currency", 
  "fieldtype": "Select", 
  "options": "link:Currency"
 }, 
 {
  "description": "Your Customer's TAX registration numbers (if applicable) or any general information", 
  "oldfieldtype": "Code", 
  "doctype": "DocField", 
  "label": "Customer Details", 
  "oldfieldname": "customer_details", 
  "fieldname": "customer_details", 
  "fieldtype": "Text", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "width": "50%", 
  "fieldname": "column_break3", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Int", 
  "doctype": "DocField", 
  "label": "Credit Days", 
  "oldfieldname": "credit_days", 
  "fieldname": "credit_days", 
  "fieldtype": "Int", 
  "permlevel": 2
 }, 
 {
  "oldfieldtype": "Currency", 
  "doctype": "DocField", 
  "label": "Credit Limit", 
  "oldfieldname": "credit_limit", 
  "fieldname": "credit_limit", 
  "fieldtype": "Currency", 
  "permlevel": 2
 }, 
 {
  "doctype": "DocField", 
  "label": "Website", 
  "fieldname": "website", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "Sales Team", 
  "fieldname": "sales_team_section_break", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Link", 
  "doctype": "DocField", 
  "label": "Default Sales Partner", 
  "oldfieldname": "default_sales_partner", 
  "permlevel": 0, 
  "fieldname": "default_sales_partner", 
  "fieldtype": "Link", 
  "options": "Sales Partner"
 }, 
 {
  "oldfieldtype": "Currency", 
  "doctype": "DocField", 
  "label": "Default Commission Rate", 
  "oldfieldname": "default_commission_rate", 
  "fieldname": "default_commission_rate", 
  "fieldtype": "Currency", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Table", 
  "doctype": "DocField", 
  "label": "Sales Team Details", 
  "oldfieldname": "sales_team", 
  "permlevel": 0, 
  "fieldname": "sales_team", 
  "fieldtype": "Table", 
  "options": "Sales Team"
 }, 
 {
  "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
 }, 
 {
  "amend": 0, 
  "create": 1, 
  "doctype": "DocPerm", 
  "submit": 0, 
  "write": 1, 
  "report": 1, 
  "role": "Purchase User", 
  "cancel": 0, 
  "permlevel": 0
 }, 
 {
  "create": 0, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Accounts Manager", 
  "cancel": 0, 
  "permlevel": 2
 }, 
 {
  "create": 0, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "System Manager", 
  "cancel": 0, 
  "permlevel": 2
 }, 
 {
  "create": 0, 
  "doctype": "DocPerm", 
  "write": 0, 
  "role": "All", 
  "cancel": 0, 
  "permlevel": 2
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "cancel": 1, 
  "role": "Accounts Manager", 
  "report": 1, 
  "permlevel": 0
 }, 
 {
  "create": 0, 
  "doctype": "DocPerm", 
  "write": 0, 
  "role": "All", 
  "cancel": 0, 
  "permlevel": 1
 }
]