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

@@ -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()