{
 "autoname": "naming_series:", 
 "creation": "2013-01-10 16:34:31.000000", 
 "description": "Create and Send Newsletters", 
 "docstatus": 0, 
 "doctype": "DocType", 
 "document_type": "Other", 
 "fields": [
  {
   "description": "Select who you want to send this newsletter to", 
   "fieldname": "send_to", 
   "fieldtype": "Section Break", 
   "label": "Send To", 
   "permlevel": 0
  }, 
  {
   "default": "NL-", 
   "fieldname": "naming_series", 
   "fieldtype": "Select", 
   "label": "Series", 
   "options": "NL-", 
   "permlevel": 0, 
   "reqd": 1
  }, 
  {
   "fieldname": "send_to_type", 
   "fieldtype": "Select", 
   "label": "Send To Type", 
   "options": "Lead\nContact\nEmployee\nCustom", 
   "permlevel": 0
  }, 
  {
   "fieldname": "column_break1", 
   "fieldtype": "Column Break", 
   "permlevel": 0
  }, 
  {
   "depends_on": "eval:doc.send_to_type==\"Lead\"", 
   "fieldname": "lead_source", 
   "fieldtype": "Select", 
   "label": "Lead Source", 
   "permlevel": 0
  }, 
  {
   "depends_on": "eval:doc.send_to_type==\"Lead\"", 
   "fieldname": "lead_status", 
   "fieldtype": "Select", 
   "label": "Lead Status", 
   "permlevel": 0
  }, 
  {
   "depends_on": "eval:doc.send_to_type==\"Contact\"", 
   "fieldname": "contact_type", 
   "fieldtype": "Select", 
   "label": "Contact Type", 
   "options": "Customer\nSupplier", 
   "permlevel": 0
  }, 
  {
   "depends_on": "eval:doc.send_to_type==\"Custom\"", 
   "description": "Comma separated list of email addresses", 
   "fieldname": "email_list", 
   "fieldtype": "Text", 
   "label": "Send to this list", 
   "permlevel": 0
  }, 
  {
   "fieldname": "newsletter_content", 
   "fieldtype": "Section Break", 
   "label": "Newsletter Content", 
   "permlevel": 0
  }, 
  {
   "description": "If specified, send the newsletter using this email address", 
   "fieldname": "send_from", 
   "fieldtype": "Data", 
   "label": "Send From", 
   "no_copy": 1, 
   "permlevel": 0
  }, 
  {
   "fieldname": "subject", 
   "fieldtype": "Small Text", 
   "in_list_view": 1, 
   "label": "Subject", 
   "permlevel": 0, 
   "reqd": 1
  }, 
  {
   "fieldname": "message", 
   "fieldtype": "Text Editor", 
   "label": "Message", 
   "permlevel": 0, 
   "reqd": 0
  }, 
  {
   "description": "Check how the newsletter looks in an email by sending it to your email.", 
   "fieldname": "test_the_newsletter", 
   "fieldtype": "Section Break", 
   "label": "Test the Newsletter", 
   "permlevel": 0
  }, 
  {
   "description": "A Lead with this email id should exist", 
   "fieldname": "test_email_id", 
   "fieldtype": "Data", 
   "label": "Test Email Id", 
   "permlevel": 0
  }, 
  {
   "fieldname": "test_send", 
   "fieldtype": "Button", 
   "label": "Test", 
   "options": "test_send", 
   "permlevel": 0
  }, 
  {
   "fieldname": "newsletter_status", 
   "fieldtype": "Section Break", 
   "label": "Newsletter Status", 
   "permlevel": 0
  }, 
  {
   "fieldname": "email_sent", 
   "fieldtype": "Check", 
   "in_list_view": 1, 
   "label": "Email Sent?", 
   "no_copy": 1, 
   "permlevel": 0, 
   "read_only": 1
  }
 ], 
 "icon": "icon-envelope", 
 "idx": 1, 
 "modified": "2014-02-03 11:32:22.000000", 
 "modified_by": "Administrator", 
 "module": "Support", 
 "name": "Newsletter", 
 "owner": "Administrator", 
 "permissions": [
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 1, 
   "email": 0, 
   "permlevel": 0, 
   "print": 0, 
   "read": 1, 
   "report": 0, 
   "role": "Sales Manager", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 1, 
   "email": 0, 
   "permlevel": 0, 
   "print": 0, 
   "read": 1, 
   "report": 0, 
   "role": "Support Manager", 
   "submit": 0, 
   "write": 1
  }
 ], 
 "title_field": "subject"
}