From 5872fac81ffb3fb1e66c631ba1935e66730f1217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 28 Sep 2006 08:55:33 +0000 Subject: [PATCH] a jump menu from purchase invoice to related payment. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10383 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../jump_related_payment.xml | 93 +++++++++++++++++++ bt5/erp5_accounting/bt/revision | 2 +- .../bt/template_action_path_list | 1 + 3 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_accounting/ActionTemplateItem/portal_types/Purchase%20Invoice%20Transaction/jump_related_payment.xml diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Purchase%20Invoice%20Transaction/jump_related_payment.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Purchase%20Invoice%20Transaction/jump_related_payment.xml new file mode 100644 index 0000000000..4773f1333a --- /dev/null +++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Purchase%20Invoice%20Transaction/jump_related_payment.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_related_payment</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 Payment Transaction</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:${object_url}/Base_jumpToRelatedObject?base_category=causality&portal_type:list=Payment+Transaction + +]]></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 8783e30511..43c451e0c6 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -53 \ No newline at end of file +54 \ No newline at end of file diff --git a/bt5/erp5_accounting/bt/template_action_path_list b/bt5/erp5_accounting/bt/template_action_path_list index f66d6b1b9a..8046efb0f7 100644 --- a/bt5/erp5_accounting/bt/template_action_path_list +++ b/bt5/erp5_accounting/bt/template_action_path_list @@ -135,6 +135,7 @@ Purchase Invoice Transaction | create_reversal Purchase Invoice Transaction | destination_asset Purchase Invoice Transaction | detail Purchase Invoice Transaction | history +Purchase Invoice Transaction | jump_related_payment Purchase Invoice Transaction | metadata Purchase Invoice Transaction | print Purchase Invoice Transaction | source_asset -- 2.30.9