From a50485de772d8b35fffaece6ad7bcb0c924f5ede Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Wed, 4 Jun 2008 20:51:54 +0000 Subject: [PATCH] Added Jump to Related Invoices git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21325 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_types/Item/jump_to_invoice.xml | 83 +++++++++++++++++++ bt5/erp5_item/bt/revision | 2 +- bt5/erp5_item/bt/template_action_path_list | 1 + 3 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_item/ActionTemplateItem/portal_types/Item/jump_to_invoice.xml diff --git a/bt5/erp5_item/ActionTemplateItem/portal_types/Item/jump_to_invoice.xml b/bt5/erp5_item/ActionTemplateItem/portal_types/Item/jump_to_invoice.xml new file mode 100644 index 0000000000..13713a1b50 --- /dev/null +++ b/bt5/erp5_item/ActionTemplateItem/portal_types/Item/jump_to_invoice.xml @@ -0,0 +1,83 @@ +<?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_invoice</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>5.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Related Invoice(s)</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>string:${object_url}/Item_jumpToInvoice</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_item/bt/revision b/bt5/erp5_item/bt/revision index 86ee83a4a2..aaa6442fe9 100644 --- a/bt5/erp5_item/bt/revision +++ b/bt5/erp5_item/bt/revision @@ -1 +1 @@ -40 \ No newline at end of file +41 \ No newline at end of file diff --git a/bt5/erp5_item/bt/template_action_path_list b/bt5/erp5_item/bt/template_action_path_list index 3504d5ef2f..bce16bbe5b 100644 --- a/bt5/erp5_item/bt/template_action_path_list +++ b/bt5/erp5_item/bt/template_action_path_list @@ -4,6 +4,7 @@ Item Module | create_order Item Module | view Item | create_order Item | delivery_jump +Item | jump_to_invoice Item | tracking_list Item | view Purchase Order Line | item_creation -- 2.30.9