Commit 83c4ae3c by Jérome Perrin

NotificationTool: use event workflow instead of calling low level send

1 parent bff14f7e
......@@ -361,9 +361,10 @@ class NotificationTool(BaseTool):
event_list.append(event)
for event in event_list:
# XXX: this uses too low level API, instead event_workflow should be used in case
# of persistent ERP5 objects
event.send(**low_level_kw)
if event.isTempObject():
event.send(**low_level_kw)
else:
event.start(**low_level_kw)
return
# Future implementation could consist in implementing
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!