[Erp5-report] r39575 seb - in /erp5/trunk/bt5/erp5_crm: ActionTemplateItem/portal_types/Sho...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 27 19:09:01 CEST 2010


Author: seb
Date: Wed Oct 27 19:08:58 2010
New Revision: 39575

URL: http://svn.erp5.org?rev=39575&view=rev
Log:
add Short Message portal type

Added:
    erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/
    erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/assessment.xml
    erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/preview.xml
    erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/related_events.xml
    erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/view.xml
    erp5/trunk/bt5/erp5_crm/PortalTypeTemplateItem/portal_types/Short%20Message.xml
Modified:
    erp5/trunk/bt5/erp5_crm/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
    erp5/trunk/bt5/erp5_crm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
    erp5/trunk/bt5/erp5_crm/bt/revision
    erp5/trunk/bt5/erp5_crm/bt/template_action_path_list
    erp5/trunk/bt5/erp5_crm/bt/template_portal_type_allowed_content_type_list
    erp5/trunk/bt5/erp5_crm/bt/template_portal_type_id_list
    erp5/trunk/bt5/erp5_crm/bt/template_portal_type_workflow_chain_list

Added: erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/assessment.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%2520Message/assessment.xml?rev=39575&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/assessment.xml (added)
+++ erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/assessment.xml [utf8] Wed Oct 27 19:08:58 2010
@@ -0,0 +1,94 @@
+<?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>
+              <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>
+      <global name="Expression" module="Products.CMFCore.Expression"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python:"%s/%s" % (object_url, object.Event_getFollowUpAssessmentFormId())</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 is not None and object.Event_hasFollowUpAssessmentForm()</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/preview.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%2520Message/preview.xml?rev=39575&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/preview.xml (added)
+++ erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/preview.xml [utf8] Wed Oct 27 19:08:58 2010
@@ -0,0 +1,79 @@
+<?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> <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>
+      <global name="Expression" module="Products.CMFCore.Expression"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Event_viewPreview</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/related_events.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%2520Message/related_events.xml?rev=39575&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/related_events.xml (added)
+++ erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/related_events.xml [utf8] Wed Oct 27 19:08:58 2010
@@ -0,0 +1,79 @@
+<?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> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>related_events</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>30.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Related Events</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}/Event_viewRelatedEventList</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%2520Message/view.xml?rev=39575&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/view.xml (added)
+++ erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Short%20Message/view.xml [utf8] Wed Oct 27 19:08:58 2010
@@ -0,0 +1,79 @@
+<?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> <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>
+      <global name="Expression" module="Products.CMFCore.Expression"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Event_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_crm/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml?rev=39575&r1=39574&r2=39575&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml [utf8] Wed Oct 27 19:08:58 2010
@@ -9,6 +9,7 @@
   <item>Mail Message</item>
   <item>Note</item>
   <item>Phone Call</item>
+  <item>Short Message</item>
   <item>Site Message</item>
   <item>Visit</item>
   <item>Web Message</item>

Added: erp5/trunk/bt5/erp5_crm/PortalTypeTemplateItem/portal_types/Short%20Message.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/PortalTypeTemplateItem/portal_types/Short%2520Message.xml?rev=39575&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_crm/PortalTypeTemplateItem/portal_types/Short%20Message.xml (added)
+++ erp5/trunk/bt5/erp5_crm/PortalTypeTemplateItem/portal_types/Short%20Message.xml [utf8] Wed Oct 27 19:08:58 2010
@@ -0,0 +1,130 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_property_domain_dict</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>short_title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>acquire_local_roles</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>content_icon</string> </key>
+            <value> <string>event_icon.gif</string> </value>
+        </item>
+        <item>
+            <key> <string>content_meta_type</string> </key>
+            <value> <string>ERP5 Event</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>A Short Message is an event which keeps the information about incoming or outgoing SMS transmissions.</string> </value>
+        </item>
+        <item>
+            <key> <string>factory</string> </key>
+            <value> <string>addEvent</string> </value>
+        </item>
+        <item>
+            <key> <string>filter_content_types</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>delivery</string>
+                <string>event</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>Short Message</string> </value>
+        </item>
+        <item>
+            <key> <string>init_script</string> </key>
+            <value> <string>Event_init</string> </value>
+        </item>
+        <item>
+            <key> <string>permission</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>short_title</string> </key>
+            <value> <string>Short Message</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>Event</string> </value>
+        </item>
+        <item>
+            <key> <string>type_mixin</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_content</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>short_title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_content</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_crm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml?rev=39575&r1=39574&r2=39575&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml [utf8] Wed Oct 27 19:08:58 2010
@@ -36,6 +36,10 @@
   <workflow>edit_workflow, pricing_interaction_workflow, sale_opportunity_workflow, ticket_interaction_workflow</workflow>
  </chain>
  <chain>
+  <type>Short Message</type>
+  <workflow>document_conversion_interaction_workflow, edit_workflow, event_interaction_workflow, event_workflow, pricing_interaction_workflow</workflow>
+ </chain>
+ <chain>
   <type>Site Message</type>
   <workflow>document_conversion_interaction_workflow, edit_workflow, event_interaction_workflow, event_workflow</workflow>
  </chain>

Modified: erp5/trunk/bt5/erp5_crm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/revision?rev=39575&r1=39574&r2=39575&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/bt/revision [utf8] Wed Oct 27 19:08:58 2010
@@ -1 +1 @@
-496
\ No newline at end of file
+497
\ No newline at end of file

Modified: erp5/trunk/bt5/erp5_crm/bt/template_action_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/template_action_path_list?rev=39575&r1=39574&r2=39575&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/template_action_path_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/bt/template_action_path_list [utf8] Wed Oct 27 19:08:58 2010
@@ -54,6 +54,10 @@ Sale Opportunity | create_new_file
 Sale Opportunity | document_list
 Sale Opportunity | new_event
 Sale Opportunity | view
+Short Message | assessment
+Short Message | preview
+Short Message | related_events
+Short Message | view
 Site Message | assessment
 Site Message | preview
 Site Message | related_events

Modified: erp5/trunk/bt5/erp5_crm/bt/template_portal_type_allowed_content_type_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/template_portal_type_allowed_content_type_list?rev=39575&r1=39574&r2=39575&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/template_portal_type_allowed_content_type_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/bt/template_portal_type_allowed_content_type_list [utf8] Wed Oct 27 19:08:58 2010
@@ -5,6 +5,7 @@ Event Module | Letter
 Event Module | Mail Message
 Event Module | Note
 Event Module | Phone Call
+Event Module | Short Message
 Event Module | Site Message
 Event Module | Visit
 Event Module | Web Message

Modified: erp5/trunk/bt5/erp5_crm/bt/template_portal_type_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/template_portal_type_id_list?rev=39575&r1=39574&r2=39575&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/template_portal_type_id_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/bt/template_portal_type_id_list [utf8] Wed Oct 27 19:08:58 2010
@@ -11,6 +11,7 @@ Note
 Phone Call
 Sale Opportunity
 Sale Opportunity Module
+Short Message
 Site Message
 Support Request
 Support Request Module

Modified: erp5/trunk/bt5/erp5_crm/bt/template_portal_type_workflow_chain_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/template_portal_type_workflow_chain_list?rev=39575&r1=39574&r2=39575&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/template_portal_type_workflow_chain_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/bt/template_portal_type_workflow_chain_list [utf8] Wed Oct 27 19:08:58 2010
@@ -36,6 +36,11 @@ Sale Opportunity | edit_workflow
 Sale Opportunity | pricing_interaction_workflow
 Sale Opportunity | sale_opportunity_workflow
 Sale Opportunity | ticket_interaction_workflow
+Short Message | document_conversion_interaction_workflow
+Short Message | edit_workflow
+Short Message | event_interaction_workflow
+Short Message | event_workflow
+Short Message | pricing_interaction_workflow
 Site Message | document_conversion_interaction_workflow
 Site Message | edit_workflow
 Site Message | event_interaction_workflow




More information about the Erp5-report mailing list