{
 "allow_import": 1, 
 "allow_rename": 1, 
 "creation": "2013-01-10 16:34:32.000000", 
 "docstatus": 0, 
 "doctype": "DocType", 
 "document_type": "Master", 
 "fields": [
  {
   "fieldname": "address_details", 
   "fieldtype": "Section Break", 
   "label": "Address Details", 
   "options": "icon-map-marker", 
   "permlevel": 0
  }, 
  {
   "description": "Name of person or organization that this address belongs to.", 
   "fieldname": "address_title", 
   "fieldtype": "Data", 
   "in_list_view": 1, 
   "label": "Address Title", 
   "permlevel": 0, 
   "reqd": 0
  }, 
  {
   "fieldname": "address_type", 
   "fieldtype": "Select", 
   "label": "Address Type", 
   "options": "Billing\nShipping\nOffice\nPersonal\nPlant\nPostal\nShop\nSubsidiary\nWarehouse\nOther", 
   "permlevel": 0, 
   "reqd": 1
  }, 
  {
   "fieldname": "address_line1", 
   "fieldtype": "Data", 
   "label": "Address Line 1", 
   "permlevel": 0, 
   "reqd": 1
  }, 
  {
   "fieldname": "address_line2", 
   "fieldtype": "Data", 
   "label": "Address Line 2", 
   "permlevel": 0
  }, 
  {
   "fieldname": "city", 
   "fieldtype": "Data", 
   "in_filter": 1, 
   "in_list_view": 1, 
   "label": "City/Town", 
   "permlevel": 0, 
   "reqd": 1, 
   "search_index": 1
  }, 
  {
   "fieldname": "state", 
   "fieldtype": "Data", 
   "in_filter": 1, 
   "in_list_view": 1, 
   "label": "State", 
   "options": "Suggest", 
   "permlevel": 0, 
   "search_index": 0
  }, 
  {
   "fieldname": "pincode", 
   "fieldtype": "Data", 
   "in_filter": 1, 
   "in_list_view": 1, 
   "label": "Pincode", 
   "permlevel": 0, 
   "search_index": 1
  }, 
  {
   "fieldname": "country", 
   "fieldtype": "Select", 
   "in_filter": 1, 
   "in_list_view": 1, 
   "label": "Country", 
   "options": "link:Country", 
   "permlevel": 0, 
   "reqd": 1, 
   "search_index": 1
  }, 
  {
   "fieldname": "column_break0", 
   "fieldtype": "Column Break", 
   "permlevel": 0, 
   "print_hide": 0, 
   "width": "50%"
  }, 
  {
   "fieldname": "email_id", 
   "fieldtype": "Data", 
   "label": "Email Id", 
   "permlevel": 0
  }, 
  {
   "fieldname": "phone", 
   "fieldtype": "Data", 
   "label": "Phone", 
   "permlevel": 0, 
   "reqd": 1
  }, 
  {
   "fieldname": "fax", 
   "fieldtype": "Data", 
   "in_filter": 1, 
   "label": "Fax", 
   "permlevel": 0
  }, 
  {
   "default": "0", 
   "description": "Check to make primary address", 
   "fieldname": "is_primary_address", 
   "fieldtype": "Check", 
   "label": "Preferred Billing Address", 
   "permlevel": 0
  }, 
  {
   "default": "0", 
   "description": "Check to make Shipping Address", 
   "fieldname": "is_shipping_address", 
   "fieldtype": "Check", 
   "in_list_view": 1, 
   "label": "Preferred Shipping Address", 
   "permlevel": 0
  }, 
  {
   "fieldname": "linked_with", 
   "fieldtype": "Section Break", 
   "label": "Reference", 
   "options": "icon-pushpin", 
   "permlevel": 0
  }, 
  {
   "fieldname": "customer", 
   "fieldtype": "Link", 
   "label": "Customer", 
   "options": "Customer", 
   "permlevel": 0
  }, 
  {
   "fieldname": "customer_name", 
   "fieldtype": "Data", 
   "in_filter": 1, 
   "in_list_view": 0, 
   "label": "Customer Name", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "supplier", 
   "fieldtype": "Link", 
   "label": "Supplier", 
   "options": "Supplier", 
   "permlevel": 0
  }, 
  {
   "fieldname": "supplier_name", 
   "fieldtype": "Data", 
   "in_filter": 1, 
   "in_list_view": 0, 
   "label": "Supplier Name", 
   "permlevel": 0, 
   "read_only": 1, 
   "search_index": 0
  }, 
  {
   "fieldname": "sales_partner", 
   "fieldtype": "Link", 
   "label": "Sales Partner", 
   "options": "Sales Partner", 
   "permlevel": 0
  }, 
  {
   "fieldname": "column_break_22", 
   "fieldtype": "Column Break", 
   "permlevel": 0
  }, 
  {
   "depends_on": "eval:!doc.supplier && !doc.sales_partner", 
   "fieldname": "lead", 
   "fieldtype": "Link", 
   "label": "Lead", 
   "options": "Lead", 
   "permlevel": 0
  }, 
  {
   "depends_on": "eval:!doc.supplier && !doc.sales_partner", 
   "fieldname": "lead_name", 
   "fieldtype": "Data", 
   "label": "Lead Name", 
   "permlevel": 0, 
   "read_only": 1
  }
 ], 
 "icon": "icon-map-marker", 
 "idx": 1, 
 "in_dialog": 0, 
 "modified": "2014-01-27 11:19:06.000000", 
 "modified_by": "Administrator", 
 "module": "Utilities", 
 "name": "Address", 
 "owner": "Administrator", 
 "permissions": [
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Sales User", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Purchase User", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Maintenance User", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Accounts User", 
   "submit": 0, 
   "write": 1
  }
 ], 
 "search_fields": "customer, supplier, sales_partner, country, state"
}