Commit e0135ca2 authored by Aurel's avatar Aurel

move event path from Details to Communication Plan tab & add it to meetings too

parent efaee02a
......@@ -58,7 +58,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Create Events from Event Path</string> </value>
<value> <string>Create Events of Communication Plan</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......
......@@ -77,7 +77,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Campaign_viewMassEmailingReportDialog</string> </value>
<value> <string>string:${object_url}/Ticket_viewMassEmailingReportDialog</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_view</string>
</tuple>
</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>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>view_communication_plan</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>3.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Communication Plan</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Ticket_viewCommunicationPlan</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_action</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>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>create_event_from_event_path</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.5</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Create Events of Communication Plan</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Ticket_viewCreateEventFromEventPathDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: object.getDefaultEventPath() is not None</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_report</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_report</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>mass_emailing_report</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Mass Emailing Report</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Ticket_viewMassEmailingReportDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_view</string>
</tuple>
</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>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>view_communication_plan</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>3.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Communication Plan</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Ticket_viewCommunicationPlan</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -18,6 +18,9 @@
<item>Visit</item>
<item>Web Message</item>
</portal_type>
<portal_type id="Meeting">
<item>Event Path</item>
</portal_type>
<portal_type id="Meeting Module">
<item>Meeting</item>
</portal_type>
......
......@@ -6,6 +6,9 @@
<portal_type id="Event Module">
<item>Acknowledgement</item>
</portal_type>
<portal_type id="Meeting">
<item>Event Path</item>
</portal_type>
<portal_type id="Preference">
<item>Support Request</item>
</portal_type>
......
......@@ -6,6 +6,9 @@
<portal_type id="Event Path">
<item>EventPath</item>
</portal_type>
<portal_type id="Meeting">
<item>DefaultEventPath</item>
</portal_type>
<portal_type id="Support Request">
<item>Codification</item>
</portal_type>
......
......@@ -12,7 +12,9 @@
</item>
<item>
<key> <string>content_icon</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>content_meta_type</string> </key>
......@@ -48,12 +50,30 @@
</item>
<item>
<key> <string>permission</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>Ticket</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>type_mixin</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -94,10 +94,7 @@
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>my_default_event_path_event_portal_type</string>
<string>my_default_event_path_source_title</string>
</list>
<list/>
</value>
</item>
<item>
......@@ -113,10 +110,7 @@
<item>
<key> <string>right</string> </key>
<value>
<list>
<string>my_default_event_path_resource_title</string>
<string>my_default_event_path_destination_title</string>
</list>
<list/>
</value>
</item>
<item>
......
......@@ -50,7 +50,9 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>portal = context.getPortalObject()\n
<value> <string encoding="cdata"><![CDATA[
portal = context.getPortalObject()\n
\n
count = portal.portal_catalog.countResults\n
\n
......@@ -63,14 +65,18 @@ total_opened = count(follow_up_uid=context.getUid(), \n
total_read = count(follow_up_uid=context.getUid(), \n
portal_type="Mail Message", simulation_state="delivered")[0][0]\n
\n
line = context.newContent(temp_object=1, total_event_sent=total_events, \n
total_event_received=total_opened, \n
total_event_received_percent=float(total_opened)/float(total_events)*100, \n
total_event_delivered=total_read,\n
total_event_delivered_percent=float(total_read)/float(total_events)*100)\n
\n
return line,\n
</string> </value>
if total_events > 0:\n
line = context.newContent(temp_object=1, total_event_sent=total_events, \n
total_event_received=total_opened, \n
total_event_received_percent=float(total_opened)/float(total_events)*100, \n
total_event_delivered=total_read,\n
total_event_delivered_percent=float(total_read)/float(total_events)*100)\n
return line,\n
else:\n
return []\n
]]></string> </value>
</item>
<item>
<key> <string>_params</string> </key>
......@@ -86,7 +92,7 @@ return line,\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Campaign_getMassEmailingEventReportLineList</string> </value>
<value> <string>Ticket_getMassEmailingEventReportLineList</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Base_edit</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>my_default_event_path_event_portal_type</string>
<string>my_default_event_path_source_title</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list>
<string>my_default_event_path_resource_title</string>
<string>my_default_event_path_destination_title</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Ticket_viewCommunicationPlan</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Ticket_viewCommunicationPlan</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_view</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Communication Plan</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>update_action_title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -108,7 +108,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Campaign_viewMassEmailingReport</string> </value>
<value> <string>Ticket_viewMassEmailingReport</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -116,7 +116,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Campaign_viewNewsletterReport</string> </value>
<value> <string>Ticket_viewNewsletterReport</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......
......@@ -79,7 +79,7 @@
<list>
<tuple>
<string>total_event_sent</string>
<string>Number of events sent</string>
<string>Number of Events Sent</string>
</tuple>
<tuple>
<string>total_event_received</string>
......@@ -136,7 +136,7 @@
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>Campaign_getMassEmailingEventReportLineList</string> </value>
<value> <string>Ticket_getMassEmailingEventReportLineList</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -29,7 +29,7 @@
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Campaign_viewMassEmailingReport</string> </value>
<value> <string>Ticket_viewMassEmailingReport</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -100,7 +100,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Campaign_viewMassEmailingReportDialog</string> </value>
<value> <string>Ticket_viewMassEmailingReportDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -108,7 +108,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Campaign_viewMassEmailingReportDialog</string> </value>
<value> <string>Ticket_viewMassEmailingReportDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......
676
\ No newline at end of file
678
\ No newline at end of file
......@@ -10,6 +10,7 @@ Campaign | jump_related_event
Campaign | mass_emailing_report
Campaign | new_event
Campaign | view
Campaign | view_communication_plan
Campaign | view_details
Event Module | event_activity
Event Module | event_detailed_report
......@@ -37,10 +38,13 @@ Meeting Module | meeting_detailed_report
Meeting Module | meeting_status
Meeting Module | view
Meeting | clone_ticket_and_event_list
Meeting | create_event_from_event_path
Meeting | create_new_file
Meeting | document_list
Meeting | mass_emailing_report
Meeting | new_event
Meeting | view
Meeting | view_communication_plan
Note | assessment
Note | create_response
Note | preview
......
......@@ -12,6 +12,7 @@ Event Module | Site Message
Event Module | Visit
Event Module | Web Message
Meeting Module | Meeting
Meeting | Event Path
Preference | Support Request
Sale Opportunity Module | Sale Opportunity
Support Request Module | Support Request
\ No newline at end of file
Campaign | Event Path
Campaign | Outcome Path
Event Module | Acknowledgement
Meeting | Event Path
Preference | Support Request
\ No newline at end of file
Campaign | DefaultEventPath
Campaign | DefaultOutcomePath
Event Path | EventPath
Meeting | DefaultEventPath
Support Request | Codification
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment