From 490d298fa006e846f76b926d0540343d3613fbfa Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 15 Dec 2011 15:46:31 +0530 Subject: [PATCH] patch to remove old control panel email settings --- erpnext/patches/remove_old_cp_email_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/remove_old_cp_email_settings.py b/erpnext/patches/remove_old_cp_email_settings.py index 6af0d102ba..5736c9cb6f 100644 --- a/erpnext/patches/remove_old_cp_email_settings.py +++ b/erpnext/patches/remove_old_cp_email_settings.py @@ -3,7 +3,7 @@ def execute(): remove control panel email settings if automail.webnotestech.com """ from webnotes.model.doc import Document - cp = Document('Control Panel') + cp = Document('Control Panel', 'Control Panel') if cp: if cp.outgoing_mail_server == 'mail.webnotestech.com': cp.outgoing_mail_server = None;