From 7568f9207d3c53792e484f0552be2ee983ed739e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 18 Sep 2008 07:29:20 +0000 Subject: [PATCH] fix undefined name git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23685 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Tool/NotificationTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Tool/NotificationTool.py b/product/ERP5/Tool/NotificationTool.py index e896a7e27d..5f2f4df5c9 100644 --- a/product/ERP5/Tool/NotificationTool.py +++ b/product/ERP5/Tool/NotificationTool.py @@ -377,7 +377,7 @@ class NotificationTool(BaseTool): # CRM is not installed - only notification by email is possible # So create a temp object directly from Products.ERP5Type.Document import newTempEvent - new_event = newTempEvent(context, '_') + new_event = newTempEvent(self, '_') event_list = [new_event] if event in event_list: -- 2.30.9