diff --git a/erpnext/crm/doctype/lead/lead.json b/erpnext/crm/doctype/lead/lead.json index 7a02ff1d81..e095426ab3 100644 --- a/erpnext/crm/doctype/lead/lead.json +++ b/erpnext/crm/doctype/lead/lead.json @@ -59,6 +59,12 @@ "reqd": 0, "search_index": 1 }, + { + "fieldname": "col_break123", + "fieldtype": "Column Break", + "permlevel": 0, + "width": "50%" + }, { "default": "Lead", "fieldname": "status", @@ -88,12 +94,6 @@ "reqd": 0, "search_index": 0 }, - { - "fieldname": "col_break123", - "fieldtype": "Column Break", - "permlevel": 0, - "width": "50%" - }, { "depends_on": "eval:doc.source == 'Customer'", "fieldname": "customer", @@ -107,7 +107,7 @@ }, { "depends_on": "eval:doc.source == 'Campaign'", - "description": "Enter campaign name if the source of lead is campaign.", + "description": "", "fieldname": "campaign_name", "fieldtype": "Link", "hidden": 0, @@ -117,6 +117,12 @@ "options": "Campaign", "permlevel": 0 }, + { + "fieldname": "section_break_12", + "fieldtype": "Section Break", + "permlevel": 0, + "precision": "" + }, { "default": "__user", "fieldname": "lead_owner", @@ -129,6 +135,12 @@ "permlevel": 0, "search_index": 1 }, + { + "fieldname": "column_break_14", + "fieldtype": "Column Break", + "permlevel": 0, + "precision": "" + }, { "allow_on_submit": 0, "fieldname": "contact_by", @@ -332,7 +344,7 @@ ], "icon": "icon-user", "idx": 1, - "modified": "2015-03-30 21:50:08.852355", + "modified": "2015-04-02 15:13:02.621854", "modified_by": "Administrator", "module": "CRM", "name": "Lead", diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 79a3ffee17..5d9dad0bf5 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -25,6 +25,7 @@ on_logout = "erpnext.shopping_cart.utils.clear_cart_count" # website update_website_context = "erpnext.shopping_cart.utils.update_website_context" my_account_context = "erpnext.shopping_cart.utils.update_my_account_context" +email_append_to = ["Lead", "Job Applicant", "Opportunity", "Issue", "Warranty Claim"] website_route_rules = [ {"from_route": "/orders", "to_route": "Sales Order"},