{
 "allow_import": 1, 
 "autoname": "naming_series:", 
 "creation": "2013-03-07 18:50:30", 
 "description": "Potential Sales Deal", 
 "docstatus": 0, 
 "doctype": "DocType", 
 "document_type": "Transaction", 
 "fields": [
  {
   "fieldname": "from_section", 
   "fieldtype": "Section Break", 
   "label": "From", 
   "options": "icon-user", 
   "permlevel": 0
  }, 
  {
   "fieldname": "naming_series", 
   "fieldtype": "Select", 
   "label": "Series", 
   "no_copy": 1, 
   "oldfieldname": "naming_series", 
   "oldfieldtype": "Select", 
   "options": "OPTY-", 
   "permlevel": 0, 
   "read_only": 0, 
   "reqd": 1
  }, 
  {
   "fieldname": "enquiry_from", 
   "fieldtype": "Select", 
   "label": "Opportunity From", 
   "oldfieldname": "enquiry_from", 
   "oldfieldtype": "Select", 
   "options": "\nLead\nCustomer", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 1
  }, 
  {
   "depends_on": "eval:doc.enquiry_from===\"Customer\"", 
   "fieldname": "customer", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 1, 
   "in_list_view": 1, 
   "label": "Customer", 
   "no_copy": 1, 
   "oldfieldname": "customer", 
   "oldfieldtype": "Link", 
   "options": "Customer", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "depends_on": "eval:doc.enquiry_from===\"Lead\"", 
   "fieldname": "lead", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 1, 
   "in_list_view": 1, 
   "label": "Lead", 
   "oldfieldname": "lead", 
   "oldfieldtype": "Link", 
   "options": "Lead", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0
  }, 
  {
   "depends_on": "eval:doc.customer || doc.lead", 
   "fieldname": "customer_name", 
   "fieldtype": "Data", 
   "label": "Customer / Lead Name", 
   "permlevel": 0, 
   "print_hide": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "column_break0", 
   "fieldtype": "Column Break", 
   "oldfieldtype": "Column Break", 
   "permlevel": 0, 
   "read_only": 0, 
   "width": "50%"
  }, 
  {
   "fieldname": "enquiry_type", 
   "fieldtype": "Select", 
   "label": "Opportunity Type", 
   "oldfieldname": "enquiry_type", 
   "oldfieldtype": "Select", 
   "options": "\nSales\nMaintenance", 
   "permlevel": 0, 
   "read_only": 0, 
   "reqd": 1
  }, 
  {
   "default": "Draft", 
   "fieldname": "status", 
   "fieldtype": "Select", 
   "in_list_view": 1, 
   "label": "Status", 
   "no_copy": 1, 
   "oldfieldname": "status", 
   "oldfieldtype": "Select", 
   "options": "Draft\nSubmitted\nQuotation\nLost\nCancelled\nReplied\nOpen", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 1, 
   "reqd": 1
  }, 
  {
   "fieldname": "items", 
   "fieldtype": "Section Break", 
   "label": "Items", 
   "oldfieldtype": "Section Break", 
   "options": "icon-shopping-cart", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "description": "Items which do not exist in Item master can also be entered on customer's request", 
   "fieldname": "enquiry_details", 
   "fieldtype": "Table", 
   "label": "Opportunity Items", 
   "oldfieldname": "enquiry_details", 
   "oldfieldtype": "Table", 
   "options": "Opportunity Item", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "description": "Keep a track of communication related to this enquiry which will help for future reference.", 
   "fieldname": "communication_history", 
   "fieldtype": "Section Break", 
   "label": "Communication History", 
   "oldfieldtype": "Section Break", 
   "options": "icon-comments", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "allow_on_submit": 1, 
   "fieldname": "communication_html", 
   "fieldtype": "HTML", 
   "label": "Communication HTML", 
   "oldfieldname": "follow_up", 
   "oldfieldtype": "Table", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "fieldname": "fold", 
   "fieldtype": "Fold", 
   "permlevel": 0
  }, 
  {
   "depends_on": "eval:doc.lead || doc.customer", 
   "fieldname": "contact_info", 
   "fieldtype": "Section Break", 
   "label": "Contact Info", 
   "options": "icon-bullhorn", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "depends_on": "eval:doc.customer || doc.lead", 
   "fieldname": "customer_address", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "label": "Customer / Lead Address", 
   "options": "Address", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0
  }, 
  {
   "fieldname": "address_display", 
   "fieldtype": "Small Text", 
   "hidden": 1, 
   "label": "Address", 
   "oldfieldname": "address", 
   "oldfieldtype": "Small Text", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "depends_on": "customer", 
   "description": "<a href=\"#Sales Browser/Territory\">Add / Edit</a>", 
   "fieldname": "territory", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "label": "Territory", 
   "options": "Territory", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "reqd": 0, 
   "search_index": 1
  }, 
  {
   "depends_on": "customer", 
   "description": "<a href=\"#Sales Browser/Customer Group\">Add / Edit</a>", 
   "fieldname": "customer_group", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 1, 
   "label": "Customer Group", 
   "oldfieldname": "customer_group", 
   "oldfieldtype": "Link", 
   "options": "Customer Group", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "reqd": 0, 
   "search_index": 1
  }, 
  {
   "fieldname": "column_break3", 
   "fieldtype": "Column Break", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "depends_on": "eval:doc.lead || doc.customer", 
   "fieldname": "contact_person", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "label": "Contact Person", 
   "options": "Contact", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0
  }, 
  {
   "depends_on": "customer", 
   "fieldname": "contact_display", 
   "fieldtype": "Small Text", 
   "label": "Contact", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "depends_on": "eval:doc.lead || doc.customer", 
   "fieldname": "contact_email", 
   "fieldtype": "Small Text", 
   "label": "Contact Email", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "depends_on": "eval:doc.lead || doc.customer", 
   "fieldname": "contact_mobile", 
   "fieldtype": "Small Text", 
   "label": "Contact Mobile No", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "more_info", 
   "fieldtype": "Section Break", 
   "label": "More Info", 
   "oldfieldtype": "Section Break", 
   "options": "icon-file-text", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "fieldname": "column_break1", 
   "fieldtype": "Column Break", 
   "oldfieldtype": "Column Break", 
   "permlevel": 0, 
   "read_only": 0, 
   "width": "50%"
  }, 
  {
   "default": "Today", 
   "fieldname": "transaction_date", 
   "fieldtype": "Date", 
   "label": "Opportunity Date", 
   "oldfieldname": "transaction_date", 
   "oldfieldtype": "Date", 
   "permlevel": 0, 
   "read_only": 0, 
   "reqd": 1, 
   "width": "50px"
  }, 
  {
   "fieldname": "fiscal_year", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "label": "Fiscal Year", 
   "oldfieldname": "fiscal_year", 
   "oldfieldtype": "Select", 
   "options": "Fiscal Year", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "reqd": 1, 
   "search_index": 1
  }, 
  {
   "fieldname": "source", 
   "fieldtype": "Select", 
   "label": "Source", 
   "oldfieldname": "source", 
   "oldfieldtype": "Select", 
   "options": "\nExisting Customer\nReference\nAdvertisement\nCold Calling\nExhibition\nSupplier Reference\nMass Mailing\nCustomer's Vendor\nCampaign\nWalk In", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "description": "Enter name of campaign if source of enquiry is campaign", 
   "fieldname": "campaign", 
   "fieldtype": "Link", 
   "label": "Campaign", 
   "oldfieldname": "campaign", 
   "oldfieldtype": "Link", 
   "options": "Campaign", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "fieldname": "company", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "label": "Company", 
   "oldfieldname": "company", 
   "oldfieldtype": "Link", 
   "options": "Company", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "reqd": 1, 
   "search_index": 1
  }, 
  {
   "depends_on": "eval:!doc.__islocal", 
   "fieldname": "order_lost_reason", 
   "fieldtype": "Text", 
   "label": "Lost Reason", 
   "no_copy": 1, 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "column_break2", 
   "fieldtype": "Column Break", 
   "oldfieldtype": "Column Break", 
   "permlevel": 0, 
   "read_only": 0, 
   "width": "50%"
  }, 
  {
   "description": "Your sales person who will contact the customer in future", 
   "fieldname": "contact_by", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "label": "Next Contact By", 
   "oldfieldname": "contact_by", 
   "oldfieldtype": "Link", 
   "options": "User", 
   "permlevel": 0, 
   "read_only": 0, 
   "width": "75px"
  }, 
  {
   "description": "Your sales person will get a reminder on this date to contact the customer", 
   "fieldname": "contact_date", 
   "fieldtype": "Datetime", 
   "label": "Next Contact Date", 
   "oldfieldname": "contact_date", 
   "oldfieldtype": "Date", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "fieldname": "to_discuss", 
   "fieldtype": "Small Text", 
   "label": "To Discuss", 
   "no_copy": 1, 
   "oldfieldname": "to_discuss", 
   "oldfieldtype": "Small Text", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "fieldname": "amended_from", 
   "fieldtype": "Link", 
   "ignore_user_permissions": 1, 
   "label": "Amended From", 
   "no_copy": 1, 
   "oldfieldname": "amended_from", 
   "oldfieldtype": "Data", 
   "options": "Opportunity", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 1, 
   "width": "150px"
  }, 
  {
   "fieldname": "communications", 
   "fieldtype": "Table", 
   "hidden": 1, 
   "label": "Communications", 
   "options": "Communication", 
   "permlevel": 0, 
   "print_hide": 1
  }
 ], 
 "icon": "icon-info-sign", 
 "idx": 1, 
 "is_submittable": 1, 
 "modified": "2014-12-19 10:49:20.695720", 
 "modified_by": "Administrator", 
 "module": "Selling", 
 "name": "Opportunity", 
 "owner": "Administrator", 
 "permissions": [
  {
   "amend": 1, 
   "apply_user_permissions": 1, 
   "cancel": 1, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Sales User", 
   "submit": 1, 
   "write": 1
  }, 
  {
   "amend": 1, 
   "cancel": 1, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Sales Manager", 
   "submit": 1, 
   "write": 1
  }
 ], 
 "search_fields": "status,transaction_date,customer,lead,enquiry_type,territory,company", 
 "sort_field": "modified", 
 "sort_order": "DESC"
}