diff --git a/product/ERP5/Tool/NotificationTool.py b/product/ERP5/Tool/NotificationTool.py index d53764f2af92a070a6ab229e59768e7d6ddc14ea..cbb74d92e41d39d3a6def06356b8c4a151785dc8 100644 --- a/product/ERP5/Tool/NotificationTool.py +++ b/product/ERP5/Tool/NotificationTool.py @@ -339,8 +339,9 @@ class NotificationTool(BaseTool): if event_keyword_argument_dict is None: event_keyword_argument_dict = {} for notifier in notifier_list: - if notifier in available_notifier_list and store_as_event: + if notifier in available_notifier_list: event = self.getDefaultModule(notifier).newContent(portal_type=notifier, + temp_object=not store_as_event, **event_keyword_argument_dict) else: from Products.ERP5Type.Document import newTempEvent