diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/jump_to_accounting.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/jump_to_accounting.xml new file mode 100755 index 0000000000000000000000000000000000000000..8b183e2cfa91c03f53cb2443d4994ee35b80e509 --- /dev/null +++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/jump_to_accounting.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_to_accounting</string> </value> + </item> + <item> + <key> <string>optional</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>16.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_entity=1</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_accounting/bt/template_action_path_list b/bt5/erp5_accounting/bt/template_action_path_list index 67f33fefbc7d0a308fd285fce9b65948b2e17904..930b97e9aa9d69fe22d21972c52e98a324f00e2a 100755 --- a/bt5/erp5_accounting/bt/template_action_path_list +++ b/bt5/erp5_accounting/bt/template_action_path_list @@ -112,6 +112,7 @@ Payment Transaction | print Payment Transaction | related_invoice Payment Transaction | source_asset Payment Transaction | view +Person | jump_to_accounting Person | transactions Purchase Invoice Transaction Line | history Purchase Invoice Transaction Line | metadata