[lead] [email] fixes

This commit is contained in:
Rushabh Mehta 2015-04-02 15:52:55 +05:30
parent 54448aabd6
commit 99a41952a4
2 changed files with 21 additions and 8 deletions

View File

@ -59,6 +59,12 @@
"reqd": 0, "reqd": 0,
"search_index": 1 "search_index": 1
}, },
{
"fieldname": "col_break123",
"fieldtype": "Column Break",
"permlevel": 0,
"width": "50%"
},
{ {
"default": "Lead", "default": "Lead",
"fieldname": "status", "fieldname": "status",
@ -88,12 +94,6 @@
"reqd": 0, "reqd": 0,
"search_index": 0 "search_index": 0
}, },
{
"fieldname": "col_break123",
"fieldtype": "Column Break",
"permlevel": 0,
"width": "50%"
},
{ {
"depends_on": "eval:doc.source == 'Customer'", "depends_on": "eval:doc.source == 'Customer'",
"fieldname": "customer", "fieldname": "customer",
@ -107,7 +107,7 @@
}, },
{ {
"depends_on": "eval:doc.source == 'Campaign'", "depends_on": "eval:doc.source == 'Campaign'",
"description": "Enter campaign name if the source of lead is campaign.", "description": "",
"fieldname": "campaign_name", "fieldname": "campaign_name",
"fieldtype": "Link", "fieldtype": "Link",
"hidden": 0, "hidden": 0,
@ -117,6 +117,12 @@
"options": "Campaign", "options": "Campaign",
"permlevel": 0 "permlevel": 0
}, },
{
"fieldname": "section_break_12",
"fieldtype": "Section Break",
"permlevel": 0,
"precision": ""
},
{ {
"default": "__user", "default": "__user",
"fieldname": "lead_owner", "fieldname": "lead_owner",
@ -129,6 +135,12 @@
"permlevel": 0, "permlevel": 0,
"search_index": 1 "search_index": 1
}, },
{
"fieldname": "column_break_14",
"fieldtype": "Column Break",
"permlevel": 0,
"precision": ""
},
{ {
"allow_on_submit": 0, "allow_on_submit": 0,
"fieldname": "contact_by", "fieldname": "contact_by",
@ -332,7 +344,7 @@
], ],
"icon": "icon-user", "icon": "icon-user",
"idx": 1, "idx": 1,
"modified": "2015-03-30 21:50:08.852355", "modified": "2015-04-02 15:13:02.621854",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "CRM", "module": "CRM",
"name": "Lead", "name": "Lead",

View File

@ -25,6 +25,7 @@ on_logout = "erpnext.shopping_cart.utils.clear_cart_count"
# website # website
update_website_context = "erpnext.shopping_cart.utils.update_website_context" update_website_context = "erpnext.shopping_cart.utils.update_website_context"
my_account_context = "erpnext.shopping_cart.utils.update_my_account_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 = [ website_route_rules = [
{"from_route": "/orders", "to_route": "Sales Order"}, {"from_route": "/orders", "to_route": "Sales Order"},