From 9a768e875a8bb4a3e540ece1555646ec6cc4e6f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 23 Jul 2008 16:52:21 +0000
Subject: [PATCH] when creating a related event after acknowledging an event,
 if we choose to quote original message, also set the title to the reply
 subject (prepend "Re: ")

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22634 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../event_workflow/scripts/Event_createEventForAcknowledge.xml  | 1 +
 bt5/erp5_crm/bt/revision                                        | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createEventForAcknowledge.xml b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createEventForAcknowledge.xml
index 768f06fcdc..8c81696d58 100644
--- a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createEventForAcknowledge.xml
+++ b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createEventForAcknowledge.xml
@@ -106,6 +106,7 @@ if create_event:\n
 \n
   if quote_original_message:\n
     new_event.edit(text_format=event.getTextFormat(),\n
+                   title=event.getReplySubject(),\n
                    text_content=event.getReplyBody())\n
 </string> </value>
         </item>
diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision
index fb32aea383..da4c6e99aa 100644
--- a/bt5/erp5_crm/bt/revision
+++ b/bt5/erp5_crm/bt/revision
@@ -1 +1 @@
-296
\ No newline at end of file
+297
\ No newline at end of file
-- 
2.30.9