From a539a3d85a01cc403e32315c8721f642c9d5afc3 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Wed, 29 Aug 2007 16:01:14 +0000
Subject: [PATCH] 2007-08-22 JPS * Slight refactoring

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15917 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../view.xml}                                 |   8 +-
 .../portal_types/Campaign/new_event.xml       |  89 ++++++++++++++
 .../{Incoming%20Fax => Campaign}/view.xml     |   2 +-
 .../portal_types/Fax%20Message/assessment.xml | 110 ++++++++++++++++++
 .../preview.xml}                              |   8 +-
 .../view.xml                                  |   2 +-
 .../portal_types/Letter/assessment.xml        | 110 ++++++++++++++++++
 .../portal_types/Letter/preview.xml           |  89 ++++++++++++++
 .../portal_types/Letter/view.xml              |  89 ++++++++++++++
 .../Mail%20Message/assessment.xml             | 110 ++++++++++++++++++
 .../portal_types/Mail%20Message/preview.xml   |  89 ++++++++++++++
 .../portal_types/Mail%20Message/view.xml      |   2 +-
 .../portal_types/Meeting%20Module/view.xml    |  89 ++++++++++++++
 .../portal_types/Meeting/view.xml             |  89 ++++++++++++++
 .../portal_types/Note/assessment.xml          | 110 ++++++++++++++++++
 .../portal_types/Note/document_view.xml       |  89 --------------
 .../portal_types/Note/preview.xml             |  89 ++++++++++++++
 .../portal_types/Note/view.xml                |   2 +-
 .../Person/jump_to_opportunity.xml            |  89 --------------
 .../Person/jump_to_support_request.xml        |  89 --------------
 .../portal_types/Phone%20Call/assessment.xml  | 110 ++++++++++++++++++
 .../portal_types/Phone%20Call/preview.xml     |  89 ++++++++++++++
 .../portal_types/Phone%20Call/view.xml        |   2 +-
 .../Sale%20Opportunity%20Module/view.xml      |   2 +-
 .../portal_types/Sale%20Opportunity/view.xml  |   2 +-
 .../Support%20Request%20Module/view.xml       |   2 +-
 .../portal_types/Support%20Request/view.xml   |   2 +-
 27 files changed, 1279 insertions(+), 284 deletions(-)
 rename bt5/erp5_crm/ActionTemplateItem/portal_types/{Incoming%20Fax/document_view.xml => Campaign%20Module/view.xml} (89%)
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/new_event.xml
 rename bt5/erp5_crm/ActionTemplateItem/portal_types/{Incoming%20Fax => Campaign}/view.xml (96%)
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/assessment.xml
 rename bt5/erp5_crm/ActionTemplateItem/portal_types/{Incoming%20Letter/document_view.xml => Fax%20Message/preview.xml} (89%)
 rename bt5/erp5_crm/ActionTemplateItem/portal_types/{Incoming%20Letter => Fax%20Message}/view.xml (96%)
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/assessment.xml
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/preview.xml
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/view.xml
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/assessment.xml
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/preview.xml
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting%20Module/view.xml
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting/view.xml
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Note/assessment.xml
 delete mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Note/document_view.xml
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Note/preview.xml
 delete mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Person/jump_to_opportunity.xml
 delete mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Person/jump_to_support_request.xml
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/assessment.xml
 create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/preview.xml

diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Fax/document_view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign%20Module/view.xml
similarity index 89%
rename from bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Fax/document_view.xml
rename to bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign%20Module/view.xml
index 4313764c87..dc0d672678 100644
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Fax/document_view.xml
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign%20Module/view.xml
@@ -42,7 +42,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>document_view</string> </value>
+            <value> <string>view</string> </value>
         </item>
         <item>
             <key> <string>permissions</string> </key>
@@ -54,11 +54,11 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>2.0</float> </value>
+            <value> <float>1.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Document</string> </value>
+            <value> <string>View</string> </value>
         </item>
         <item>
             <key> <string>visible</string> </key>
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/Base_viewDocumentList</string> </value>
+            <value> <string>string:${object_url}/Folder_viewTicketList</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/new_event.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/new_event.xml
new file mode 100644
index 0000000000..b4f9bf9d13
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/new_event.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_action</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>new_event</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>10.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>New Event</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Ticket_viewNewEventDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Fax/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/view.xml
similarity index 96%
rename from bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Fax/view.xml
rename to bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/view.xml
index 72f0b525d2..70294181e3 100644
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Fax/view.xml
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/view.xml
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/IncomingLetter_view</string> </value>
+            <value> <string>string:${object_url}/Ticket_view</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/assessment.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/assessment.xml
new file mode 100644
index 0000000000..435f0329bb
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/assessment.xml
@@ -0,0 +1,110 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>assessment</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>20.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Assessment</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python:"%s/%s" % (object_url, object.getFollowUpValue().getAssessmentFormId())</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python: object is not None and object.Event_hasFollowUpAssessmentForm()</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Letter/document_view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/preview.xml
similarity index 89%
rename from bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Letter/document_view.xml
rename to bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/preview.xml
index 4313764c87..17e7da5967 100644
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Letter/document_view.xml
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/preview.xml
@@ -42,7 +42,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>document_view</string> </value>
+            <value> <string>preview</string> </value>
         </item>
         <item>
             <key> <string>permissions</string> </key>
@@ -54,11 +54,11 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>2.0</float> </value>
+            <value> <float>10.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Document</string> </value>
+            <value> <string>Preview</string> </value>
         </item>
         <item>
             <key> <string>visible</string> </key>
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/Base_viewDocumentList</string> </value>
+            <value> <string>string:${object_url}/Event_viewPreview</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Letter/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/view.xml
similarity index 96%
rename from bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Letter/view.xml
rename to bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/view.xml
index 72f0b525d2..d0b6a27e1b 100644
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Incoming%20Letter/view.xml
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Fax%20Message/view.xml
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/IncomingLetter_view</string> </value>
+            <value> <string>string:${object_url}/Event_view</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/assessment.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/assessment.xml
new file mode 100644
index 0000000000..435f0329bb
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/assessment.xml
@@ -0,0 +1,110 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>assessment</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>20.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Assessment</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python:"%s/%s" % (object_url, object.getFollowUpValue().getAssessmentFormId())</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python: object is not None and object.Event_hasFollowUpAssessmentForm()</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/preview.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/preview.xml
new file mode 100644
index 0000000000..17e7da5967
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/preview.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>preview</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>10.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Preview</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Event_viewPreview</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/view.xml
new file mode 100644
index 0000000000..d0b6a27e1b
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Letter/view.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>view</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>1.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>View</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Event_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/assessment.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/assessment.xml
new file mode 100644
index 0000000000..435f0329bb
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/assessment.xml
@@ -0,0 +1,110 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>assessment</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>20.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Assessment</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python:"%s/%s" % (object_url, object.getFollowUpValue().getAssessmentFormId())</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python: object is not None and object.Event_hasFollowUpAssessmentForm()</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/preview.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/preview.xml
new file mode 100644
index 0000000000..17e7da5967
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/preview.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>preview</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>10.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Preview</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Event_viewPreview</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/view.xml
index fada71865c..d0b6a27e1b 100644
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/view.xml
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Mail%20Message/view.xml
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/MailMessage_view</string> </value>
+            <value> <string>string:${object_url}/Event_view</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting%20Module/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting%20Module/view.xml
new file mode 100644
index 0000000000..c008d029e0
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting%20Module/view.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>view</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>1.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>View</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/MeetingModule_viewMeetingList</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting/view.xml
new file mode 100644
index 0000000000..b94c06eb75
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting/view.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>view</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>1.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>View</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Meeting_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/assessment.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/assessment.xml
new file mode 100644
index 0000000000..435f0329bb
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/assessment.xml
@@ -0,0 +1,110 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>assessment</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>20.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Assessment</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python:"%s/%s" % (object_url, object.getFollowUpValue().getAssessmentFormId())</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python: object is not None and object.Event_hasFollowUpAssessmentForm()</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/document_view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/document_view.xml
deleted file mode 100644
index 4313764c87..0000000000
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/document_view.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.ActionInformation</string>
-          <string>ActionInformation</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_view</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>icon</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>document_view</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>View</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>2.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Document</string> </value>
-        </item>
-        <item>
-            <key> <string>visible</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/Base_viewDocumentList</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/preview.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/preview.xml
new file mode 100644
index 0000000000..17e7da5967
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/preview.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>preview</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>10.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Preview</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Event_viewPreview</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/view.xml
index 261a564117..d0b6a27e1b 100644
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/view.xml
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Note/view.xml
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/Note_view</string> </value>
+            <value> <string>string:${object_url}/Event_view</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Person/jump_to_opportunity.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Person/jump_to_opportunity.xml
deleted file mode 100644
index 0b383af602..0000000000
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Person/jump_to_opportunity.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.ActionInformation</string>
-          <string>ActionInformation</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_jump</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>icon</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>jump_to_opportunity</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>View</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>20.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Sale Opportunity</string> </value>
-        </item>
-        <item>
-            <key> <string>visible</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${portal_url}/opportunity_module/view</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Person/jump_to_support_request.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Person/jump_to_support_request.xml
deleted file mode 100644
index a0c73c3e1b..0000000000
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Person/jump_to_support_request.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.ActionInformation</string>
-          <string>ActionInformation</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_jump</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>icon</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>jump_to_support_request</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>View</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>23.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Support Request</string> </value>
-        </item>
-        <item>
-            <key> <string>visible</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${portal_url}/support_request_module/view</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/assessment.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/assessment.xml
new file mode 100644
index 0000000000..435f0329bb
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/assessment.xml
@@ -0,0 +1,110 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>assessment</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>20.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Assessment</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python:"%s/%s" % (object_url, object.getFollowUpValue().getAssessmentFormId())</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python: object is not None and object.Event_hasFollowUpAssessmentForm()</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/preview.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/preview.xml
new file mode 100644
index 0000000000..17e7da5967
--- /dev/null
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/preview.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>preview</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>10.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Preview</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Event_viewPreview</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/view.xml
index d075cc328b..d0b6a27e1b 100644
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/view.xml
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Phone%20Call/view.xml
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/PhoneCall_view</string> </value>
+            <value> <string>string:${object_url}/Event_view</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity%20Module/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity%20Module/view.xml
index 53f1b070ea..bf8d47df2c 100644
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity%20Module/view.xml
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity%20Module/view.xml
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/SaleOpportunityModule_viewSaleOpportunityList</string> </value>
+            <value> <string>string:${object_url}/Folder_viewTicketList</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity/view.xml
index 42d36a213a..70294181e3 100644
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity/view.xml
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity/view.xml
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/SaleOpportunity_view</string> </value>
+            <value> <string>string:${object_url}/Ticket_view</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request%20Module/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request%20Module/view.xml
index 0bfcb769f6..dc0d672678 100644
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request%20Module/view.xml
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request%20Module/view.xml
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/SupportRequestModule_viewSupportRequestList</string> </value>
+            <value> <string>string:${object_url}/Folder_viewTicketList</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request/view.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request/view.xml
index c119cafa1d..70294181e3 100644
--- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request/view.xml
+++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request/view.xml
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/SupportRequest_view</string> </value>
+            <value> <string>string:${object_url}/Ticket_view</string> </value>
         </item>
       </dictionary>
     </pickle>
-- 
2.30.9