[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,
"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",

View File

@ -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"},