fix in auto email id when sender not supplied

This commit is contained in:
Anand Doshi 2012-05-02 15:15:08 +05:30
parent d25d56918a
commit 7b3aefb955

View file

@ -145,7 +145,7 @@ class EMail:
"""
if not self.sender:
self.sender = hasattr(conf, 'auto_email_id') \
and conf.auto_email_id or '"ERPNext Notifier" <automail@erpnext.com>'
and conf.auto_email_id or '"ERPNext Notification" <automail@erpnext.com>'
from webnotes.utils import validate_email_add
# validate ids