From 58cdaa8590f3babc1ba8703b7c9a4e464cf9fce5 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 2 Mar 2012 10:03:16 +0100 Subject: [PATCH] fix in support ticket sending --- erpnext/support/doctype/support_ticket/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/support/doctype/support_ticket/__init__.py b/erpnext/support/doctype/support_ticket/__init__.py index 8d80f0a78b..ca27a61f9f 100644 --- a/erpnext/support/doctype/support_ticket/__init__.py +++ b/erpnext/support/doctype/support_ticket/__init__.py @@ -29,7 +29,7 @@ class SupportMailbox(POP3Mailbox): # extract email settings self.email_settings = Document('Email Settings','Email Settings') - if not self.email_settings.get('sync_support_mails'): return + if not self.email_settings.fields.get('sync_support_mails'): return s = Document('Support Email Settings') s.use_ssl = self.email_settings.support_use_ssl