[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2012-10-02 11:27:30", 
  "modified_by": "Administrator", 
  "modified": "2012-09-28 12:31:42"
 }, 
 {
  "name": "__common__", 
  "default_print_format": "Standard", 
  "allow_print": 0, 
  "search_fields": "customer_name,customer_group,country,territory", 
  "module": "Selling", 
  "doctype": "DocType", 
  "document_type": "Master"
 }, 
 {
  "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"
 }, 
 {
  "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", 
  "options": "\nCompany\nIndividual", 
  "fieldname": "customer_type", 
  "fieldtype": "Select", 
  "reqd": 1, 
  "permlevel": 0
 }, 
 {
  "print_hide": 0, 
  "no_copy": 1, 
  "doctype": "DocField", 
  "label": "Series", 
  "options": "\nCUST\nCUSTMUM", 
  "fieldname": "naming_series", 
  "fieldtype": "Select", 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "description": "Fetch lead which will be converted into customer.", 
  "no_copy": 1, 
  "oldfieldtype": "Link", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Lead Ref", 
  "oldfieldname": "lead_name", 
  "permlevel": 0, 
  "trigger": "Client", 
  "fieldname": "lead_name", 
  "fieldtype": "Link", 
  "hidden": 0, 
  "in_filter": 1, 
  "options": "Lead", 
  "report_hide": 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", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Customer Group", 
  "oldfieldname": "customer_group", 
  "permlevel": 0, 
  "trigger": "Client", 
  "fieldname": "customer_group", 
  "fieldtype": "Link", 
  "search_index": 1, 
  "reqd": 1, 
  "hidden": 0, 
  "in_filter": 1, 
  "options": "Customer Group"
 }, 
 {
  "print_hide": 1, 
  "description": "<a href=\"#!Sales Browser/Territory\">To manage Territory, click here</a>", 
  "oldfieldtype": "Link", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Territory", 
  "oldfieldname": "territory", 
  "permlevel": 0, 
  "trigger": "Client", 
  "fieldname": "territory", 
  "fieldtype": "Link", 
  "reqd": 1, 
  "options": "Territory"
 }, 
 {
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Address & Contacts", 
  "fieldname": "address_contacts", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "depends_on": "eval:doc.__islocal", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Address Desc", 
  "options": "<em>Addresses will appear only when you save the customer</em>", 
  "fieldname": "address_desc", 
  "fieldtype": "HTML", 
  "permlevel": 0
 }, 
 {
  "colour": "White:FFF", 
  "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", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Contact Desc", 
  "options": "<em>Contact Details will appear only when you save the customer</em>", 
  "fieldname": "contact_desc", 
  "fieldtype": "HTML", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "HTML", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Contact HTML", 
  "fieldname": "contact_html", 
  "fieldtype": "HTML", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "label": "Communication History", 
  "fieldname": "communication_history", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Communication HTML", 
  "fieldname": "communication_html", 
  "fieldtype": "HTML", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Section Break", 
  "colour": "White:FFF", 
  "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", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Company", 
  "oldfieldname": "company", 
  "permlevel": 0, 
  "fieldname": "company", 
  "fieldtype": "Link", 
  "search_index": 1, 
  "reqd": 1, 
  "in_filter": 1, 
  "options": "Company"
 }, 
 {
  "doctype": "DocField", 
  "label": "Default Price List", 
  "options": "Price List", 
  "fieldname": "default_price_list", 
  "fieldtype": "Link", 
  "permlevel": 0
 }, 
 {
  "description": "This currency will get fetched in Sales transactions of this customer", 
  "no_copy": 1, 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Default Currency", 
  "options": "link:Currency", 
  "fieldname": "default_currency", 
  "fieldtype": "Select", 
  "permlevel": 0
 }, 
 {
  "description": "Your Customer's TAX registration numbers (if applicable) or any general information", 
  "oldfieldtype": "Code", 
  "colour": "White:FFF", 
  "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", 
  "options": "Sales Partner", 
  "fieldname": "default_sales_partner", 
  "fieldtype": "Link", 
  "permlevel": 0
 }, 
 {
  "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", 
  "options": "Sales Team", 
  "fieldname": "sales_team", 
  "fieldtype": "Table", 
  "permlevel": 0
 }, 
 {
  "depends_on": "eval:!doc.__islocal", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Transaction History", 
  "fieldname": "transaction_history", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "depends_on": "eval:!doc.__islocal", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "History HTML", 
  "fieldname": "history_html", 
  "fieldtype": "HTML", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Small Text", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Trash Reason", 
  "oldfieldname": "trash_reason", 
  "fieldname": "trash_reason", 
  "fieldtype": "Small Text", 
  "permlevel": 1
 }, 
 {
  "amend": 0, 
  "create": 1, 
  "doctype": "DocPerm", 
  "submit": 0, 
  "write": 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": 0, 
  "doctype": "DocPerm", 
  "submit": 0, 
  "write": 0, 
  "role": "Sales Manager", 
  "cancel": 0, 
  "permlevel": 1
 }, 
 {
  "amend": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "submit": 0, 
  "write": 0, 
  "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, 
  "role": "Sales 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, 
  "role": "Accounts Manager", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "create": 0, 
  "doctype": "DocPerm", 
  "write": 0, 
  "role": "All", 
  "cancel": 0, 
  "permlevel": 1
 }
]