[Erp5-report] r42169 nicolas - in /erp5/trunk/bt5/erp5_crm: ActionTemplateItem/portal_types...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jan 10 15:38:00 CET 2011


Author: nicolas
Date: Mon Jan 10 15:38:00 2011
New Revision: 42169

URL: http://svn.erp5.org?rev=42169&view=rev
Log:
New action( only enabled if Web Message has been created from Contact-Us
Form) to create sender from person_module

Added:
    erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%20Message/create_sender_person.xml
Modified:
    erp5/trunk/bt5/erp5_crm/bt/revision
    erp5/trunk/bt5/erp5_crm/bt/template_action_path_list

Added: erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%20Message/create_sender_person.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%2520Message/create_sender_person.xml?rev=42169&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%20Message/create_sender_person.xml (added)
+++ erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%20Message/create_sender_person.xml [utf8] Mon Jan 10 15:38:00 2011
@@ -0,0 +1,101 @@
+<?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> <string>source_carrier category is used to link web message to Web Section who delivered the Original Form.\n
+This information is used to know if this action must be enabled or not.\n
+\n
+This Form has meaning only if erp5_web is installed and if you are using standard contact-us form</string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>create_sender_person</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Modify portal content</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>10.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Create Sender Person</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_viewCreateSenderPersonDialog</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: not here.getSource() and here.getSourceCarrier()</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_crm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/revision?rev=42169&r1=42168&r2=42169&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/bt/revision [utf8] Mon Jan 10 15:38:00 2011
@@ -1 +1 @@
-519
\ No newline at end of file
+522
\ 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=42169&r1=42168&r2=42169&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] Mon Jan 10 15:38:00 2011
@@ -78,6 +78,7 @@ Visit | preview
 Visit | related_events
 Visit | view
 Web Message | assessment
+Web Message | create_sender_person
 Web Message | preview
 Web Message | related_events
 Web Message | view



More information about the Erp5-report mailing list