diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%20Message/create_sender_person.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%20Message/create_sender_person.xml new file mode 100644 index 0000000000000000000000000000000000000000..06ecb0f2fbb14ae394e6e3c005d1253d21412430 --- /dev/null +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Web%20Message/create_sender_person.xml @@ -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> diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index 82cf079698a0f9d9ba57d0fac0a29786fe194bc0..8db1e5f188b2ca253fa389047f6da965ac5f52b9 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -1 +1 @@ -519 \ No newline at end of file +522 \ No newline at end of file diff --git a/bt5/erp5_crm/bt/template_action_path_list b/bt5/erp5_crm/bt/template_action_path_list index 63ea6216783dbf0cb6ab4d0d941daebcce8d9506..15b59f0a9a115d5d8705927777736dffd9a3d80a 100644 --- a/bt5/erp5_crm/bt/template_action_path_list +++ b/bt5/erp5_crm/bt/template_action_path_list @@ -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