diff --git a/product/ERP5/Tool/NotificationTool.py b/product/ERP5/Tool/NotificationTool.py index 402727c90dfd9a9c7cf82946435f76b0e5dcbd7d..f6ff92cc18f4ca24cc0915258adc9a9699def89d 100644 --- a/product/ERP5/Tool/NotificationTool.py +++ b/product/ERP5/Tool/NotificationTool.py @@ -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)