diff --git a/bt5/erp5_free_subscription/ActionTemplateItem/portal_types/Person/jump_to_free_subscription.xml b/bt5/erp5_free_subscription/ActionTemplateItem/portal_types/Person/jump_to_free_subscription.xml new file mode 100644 index 0000000000000000000000000000000000000000..ee6ef578efb6599be174f3ed4a1b317dcd6d5e2e --- /dev/null +++ b/bt5/erp5_free_subscription/ActionTemplateItem/portal_types/Person/jump_to_free_subscription.xml @@ -0,0 +1,100 @@ +<?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_jump</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_jump</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>jump_to_free_subscription</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>32.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Free Subscription</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 encoding="cdata"><![CDATA[ + +string:${object_url}/Base_jumpToRelatedObject?base_category=destination&portal_type=Free+Subscription + +]]></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: portal.Base_checkPermission(\'free_subscription_module\', \'View\')</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_free_subscription/bt/template_action_path_list b/bt5/erp5_free_subscription/bt/template_action_path_list index 274da74e57ad238c1c63a6c8994114715e3d048b..4a95fc022a2bdfe104f39185002468fa73b5412c 100644 --- a/bt5/erp5_free_subscription/bt/template_action_path_list +++ b/bt5/erp5_free_subscription/bt/template_action_path_list @@ -5,4 +5,5 @@ Free Subscription | free_subscription_request Free Subscription | view Organisation | create_free_subscription Person | create_free_subscription +Person | jump_to_free_subscription System Preference | free_subscription \ No newline at end of file