diff --git a/bt5/erp5_base/ActionTemplateItem/portal_types/Organisation/jump_to_persons.xml b/bt5/erp5_base/ActionTemplateItem/portal_types/Organisation/jump_to_persons.xml new file mode 100644 index 0000000000000000000000000000000000000000..19f609ae1d109e9f7d53a4c6540f0d0ccd840aed --- /dev/null +++ b/bt5/erp5_base/ActionTemplateItem/portal_types/Organisation/jump_to_persons.xml @@ -0,0 +1,93 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_jump</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>jump_to_persons</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>17.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Persons</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +string:${portal_url}/person_module/view?reset:int=1&subordination_uid=${object/getUid} + +]]></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index d800886d9c86731ae5c4a62b0b77c437015e00d2..a09fd8ad47268facfe50ea952d980dc5627594a2 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -123 \ No newline at end of file +124 \ No newline at end of file diff --git a/bt5/erp5_base/bt/template_action_path_list b/bt5/erp5_base/bt/template_action_path_list index 0dc7b0456ff3f9f2e48de65ebda2b42ab1af4e03..710a6a1462cca74a9ffc795c5d6422b54a5c9a18 100644 --- a/bt5/erp5_base/bt/template_action_path_list +++ b/bt5/erp5_base/bt/template_action_path_list @@ -80,6 +80,7 @@ Organisation | details Organisation | document_view Organisation | financial_view Organisation | history +Organisation | jump_to_persons Organisation | metadata Organisation | person_list Organisation | print