From a7aff7926b2b64cc988dad08bb7f096512cbccbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Tue, 3 Aug 2010 07:07:36 +0000 Subject: [PATCH] add action to view path on business process git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37416 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../trade_model_path_view.xml | 91 +++++++++++++++++++ bt5/erp5_trade/bt/revision | 2 +- bt5/erp5_trade/bt/template_action_path_list | 1 + 3 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_trade/ActionTemplateItem/portal_types/Business%20Process/trade_model_path_view.xml diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Business%20Process/trade_model_path_view.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Business%20Process/trade_model_path_view.xml new file mode 100644 index 0000000000..e67e0bb662 --- /dev/null +++ b/bt5/erp5_trade/ActionTemplateItem/portal_types/Business%20Process/trade_model_path_view.xml @@ -0,0 +1,91 @@ +<?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>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_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </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>trade_model_path_view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Action Information</string> </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Path</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}/BusinessProcess_viewTradeModelPath</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index 612eb51c3d..acecfee9f6 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -961 +962 \ 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 0f6a41ad60..d61802fe8b 100644 --- a/bt5/erp5_trade/bt/template_action_path_list +++ b/bt5/erp5_trade/bt/template_action_path_list @@ -1,6 +1,7 @@ Business Link | predicate_view Business Link | view Business Process Module | view +Business Process | trade_model_path_view Business Process | view Container Line | view Container Line | view_quantity -- 2.30.9