Commit 52384493 authored by Yusei Tahara's avatar Yusei Tahara

Fixed a bug. context is not available here. use self.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20977 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3f61235c
......@@ -314,7 +314,7 @@ class NotificationTool(BaseTool):
**event_keyword_argument_dict)
else:
from Products.ERP5Type.Document import newTempEvent
event = newTempEvent(context, '_',
event = newTempEvent(self, '_',
**event_keyword_argument_dict)
event.setSourceValue(from_person)
event.setDestinationValueList(to_person_list)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment