diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List/jump_related_order.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List/jump_related_order.xml new file mode 100644 index 0000000000000000000000000000000000000000..5a818fe4e7a1d8729785ab8714bee76f0982ca91 --- /dev/null +++ b/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List/jump_related_order.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_related_order</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>9.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Related Purchase Order</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=causality&portal_type=Purchase+Order&related:int=0 + +]]></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List/jump_related_order.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List/jump_related_order.xml new file mode 100644 index 0000000000000000000000000000000000000000..8ae17fc32f3469f5fe3c51a837a77eed47b1b22a --- /dev/null +++ b/bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List/jump_related_order.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_related_order</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>8.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Related Sale Order</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=causality&portal_type=Sale+Order&related:int=0 + +]]></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index 812799aa82ed573e25002889181db700932e62c9..13ef0a79b8787de65a0c008583ab7dd8a4a47fd0 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -452 \ No newline at end of file +453 \ No newline at end of file diff --git a/bt5/erp5_trade/bt/template_action_path_list b/bt5/erp5_trade/bt/template_action_path_list index 54a179cf67788c8e4c76b98162a4d058a163262e..bd17c1ec0162aff91b246f3f8f5d949c4dce5a8d 100644 --- a/bt5/erp5_trade/bt/template_action_path_list +++ b/bt5/erp5_trade/bt/template_action_path_list @@ -59,6 +59,7 @@ Purchase Packing List Line | view_price Purchase Packing List Module | view Purchase Packing List | choose_solve_actions Purchase Packing List | details +Purchase Packing List | jump_related_order Purchase Packing List | jump_related_purchase_invoice Purchase Packing List | jump_related_purchase_order Purchase Packing List | packing_list_print @@ -108,6 +109,7 @@ Sale Packing List Module | workflow_report Sale Packing List | choose_solve_actions Sale Packing List | container_fast_input Sale Packing List | details +Sale Packing List | jump_related_order Sale Packing List | jump_related_sale_invoice Sale Packing List | packing_list_print Sale Packing List | view