Lead Status in List, minor fix in Make Email Accounts patch

This commit is contained in:
Anand Doshi 2015-03-30 22:35:51 +05:30
parent d6a360b51b
commit fc79492bac
2 changed files with 3 additions and 8 deletions

View File

@ -64,7 +64,7 @@
"fieldname": "status",
"fieldtype": "Select",
"in_filter": 1,
"in_list_view": 0,
"in_list_view": 1,
"label": "Status",
"no_copy": 1,
"oldfieldname": "status",
@ -332,7 +332,7 @@
],
"icon": "icon-user",
"idx": 1,
"modified": "2015-03-18 07:06:34.330943",
"modified": "2015-03-30 21:50:08.852355",
"modified_by": "Administrator",
"module": "CRM",
"name": "Lead",
@ -343,7 +343,6 @@
"cancel": 0,
"create": 0,
"delete": 0,
"match": "",
"permlevel": 1,
"read": 1,
"report": 1,
@ -401,7 +400,6 @@
"cancel": 0,
"create": 0,
"delete": 0,
"match": "",
"permlevel": 1,
"read": 1,
"report": 1,
@ -414,7 +412,6 @@
"cancel": 0,
"create": 0,
"delete": 0,
"match": "",
"permlevel": 1,
"read": 1,
"report": 1,

View File

@ -21,7 +21,6 @@ def execute():
account.enable_outgoing = 1
account.enable_incoming = 0
account.is_global = 1
account.insert()
@ -44,7 +43,7 @@ def execute():
account.set(target_fieldname, support.get(source_fieldname))
account.enable_outgoing = 0
account.is_global = 1
account.append_to = "Issue"
account.insert()
@ -65,7 +64,6 @@ def execute():
account.set(target_fieldname, source.get(source_fieldname))
account.enable_outgoing = 0
account.is_global = 1
account.append_to = "Lead" if doctype=="Sales Email Settings" else "Job Applicant"
account.insert()