diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Task/jump_to_predecessor_task.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Task/jump_to_predecessor_task.xml new file mode 100644 index 0000000000000000000000000000000000000000..b60287d14aba1ae0364ea559f04e74c0f78daac8 --- /dev/null +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Task/jump_to_predecessor_task.xml @@ -0,0 +1,87 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </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_predecessor_task</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>11.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Predecessor Tasks</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> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +string:${object_url}/Base_jumpToRelatedObject?base_category=predecessor&portal_type=Task&related:int=0 + +]]></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Task/jump_to_successor_task.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Task/jump_to_successor_task.xml new file mode 100644 index 0000000000000000000000000000000000000000..f5b19289d8cf6905d072fbf41a35d58c0963705e --- /dev/null +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Task/jump_to_successor_task.xml @@ -0,0 +1,87 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </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_successor_task</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>12.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Successor Tasks</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> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +string:${object_url}/Base_jumpToRelatedObject?base_category=predecessor&portal_type=Task + +]]></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision index 2b808f36cfa85e246f7c84822abab53c178d3ec2..495ae252f0ccba7cb30f39a2737131a2734406b6 100644 --- a/bt5/erp5_project/bt/revision +++ b/bt5/erp5_project/bt/revision @@ -1 +1 @@ -463 \ No newline at end of file +464 \ No newline at end of file diff --git a/bt5/erp5_project/bt/template_action_path_list b/bt5/erp5_project/bt/template_action_path_list index 10da66916c4ea9d8ea20eb36e0f51ea9ce5f664c..d3e96e43862f00aef2ca9c699ce1e64968c3ef76 100644 --- a/bt5/erp5_project/bt/template_action_path_list +++ b/bt5/erp5_project/bt/template_action_path_list @@ -72,7 +72,9 @@ Task Report | view_discount Task | apply_trade_condition Task | constraint Task | duplicate_task +Task | jump_to_predecessor_task Task | jump_to_related_task_report +Task | jump_to_successor_task Task | payment_condition Task | profile_view Task | view