diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Account/jump_to_accounting.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Account/jump_to_accounting.xml new file mode 100644 index 0000000000000000000000000000000000000000..5d1236f22cfaf6f2a9cb51db4f614fea3bff2ecc --- /dev/null +++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Account/jump_to_accounting.xml @@ -0,0 +1,89 @@ +<?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_to_accounting</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> +<string></string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>6.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Accounting</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>string:${object_url}/Base_jumpToAccountingTransaction?from_account=1</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 98c1572f67e72c2c54c6e949b21406e146df0b5b..b99877a597907968a7f18a0383ece82f077280a8 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -327 \ No newline at end of file +331 \ 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 fe138eafa1da45f91cb5742aefa2e28950c29fc6..44c58fe65260b5d9a10989d7748fcad8c183fcbc 100644 --- a/bt5/erp5_accounting/bt/template_action_path_list +++ b/bt5/erp5_accounting/bt/template_action_path_list @@ -13,6 +13,7 @@ Account Module | trial_balance_report Account Module | view Account | history Account | jump_active_accounting_pref +Account | jump_to_accounting Account | metadata Account | print Account | transaction_list