diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Balance%20Transaction/add_accounting_transaction_line.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Balance%20Transaction/add_accounting_transaction_line.xml new file mode 100644 index 0000000000000000000000000000000000000000..b60815278d5242ba00305ba3e55ac35892c2694a --- /dev/null +++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Balance%20Transaction/add_accounting_transaction_line.xml @@ -0,0 +1,87 @@ +<?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_action</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</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>add_accounting_transaction_line</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Add portal content</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>20.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Add Accounting Transaction Lines</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}/AccountingTransaction_viewAddAccountingTransactionLineDialog?portal_type=Balance+Transaction+Line</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index bdf9e7e5d4da0f6c7458bddfc379d531b1e24ab1..0e7f8bf9dec14fb625ab36caafb97b25812353cf 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -1202 \ No newline at end of file +1203 \ 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 014160c4c9e23ec010fabbf0fce10b6cd2133ece..7c727b9aba46327be7df53a90ebc849773684e92 100644 --- a/bt5/erp5_accounting/bt/template_action_path_list +++ b/bt5/erp5_accounting/bt/template_action_path_list @@ -48,6 +48,7 @@ Accounting Transaction | profile_view Accounting Transaction | source_asset Accounting Transaction | view Balance Transaction Line | view +Balance Transaction | add_accounting_transaction_line Balance Transaction | destination_asset Balance Transaction | view Bank Account | jump_active_accounting_pref