From 16aacdfeeb38dc717a3677a14a291d3b355c24b1 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 26 Dec 2011 11:37:52 +0530 Subject: [PATCH] Error fixed in ticket --- erpnext/projects/doctype/ticket/ticket.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/erpnext/projects/doctype/ticket/ticket.py b/erpnext/projects/doctype/ticket/ticket.py index e2310886a56..8ef8fb9bf1a 100644 --- a/erpnext/projects/doctype/ticket/ticket.py +++ b/erpnext/projects/doctype/ticket/ticket.py @@ -91,6 +91,15 @@ class DocType: #Sent Notification def sent_notification(self): + i = { + 'name' : self.doc.name, + 'senders_name': self.doc.allocated_to, + 'opening_date': self.doc.exp_start_date, + 'project': self.doc.project, + 'review_date': self.doc.review_date, + 'description': self.doc.description + } + msg2="""

%(name)s

This is a Notification for the task %(name)s that has been assigned to you by %(senders_name)s on %(opening_date)s