diff --git a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_sendMailMessage.xml b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_sendMailMessage.xml
index ac51c8ccb7d86dc5050d33bf50b3226718d03a82..39b30ad22e1a3a9159b3dff0389b764f9af0cfdd 100644
--- a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_sendMailMessage.xml
+++ b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_sendMailMessage.xml
@@ -69,7 +69,7 @@ if event.getPortalType() in (\'Mail Message\', ):\n
     if event.getSource():\n
       event.send()\n
     else:\n
-      event.send(mfrom=object.portal_preferences.getPreferredEventSenderEmail())\n
+      event.send(mfrom=portal.portal_preferences.getPreferredEventSenderEmail())\n
 </string> </value>
         </item>
         <item>
@@ -120,7 +120,6 @@ if event.getPortalType() in (\'Mail Message\', ):\n
                             <string>_getattr_</string>
                             <string>portal</string>
                             <string>send_mail</string>
-                            <string>object</string>
                           </tuple>
                         </value>
                     </item>
diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision
index 4f36264f98ddc28fc47c7d1838508927951e7552..e24b797f8d0569c7a2132bc8a53fc02b28f47284 100644
--- a/bt5/erp5_crm/bt/revision
+++ b/bt5/erp5_crm/bt/revision
@@ -1 +1 @@
-360
\ No newline at end of file
+361
\ No newline at end of file