diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Account%20Module/module_view.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Account%20Module/module_view.xml new file mode 100644 index 0000000000000000000000000000000000000000..1902800ec836f915a93a1296637669ab6c07a7d3 --- /dev/null +++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Account%20Module/module_view.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_view</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>module_view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Manage properties</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.5</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</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}/Folder_viewModule</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Account%20Module/view.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Account%20Module/view.xml index 94d5aef344fcd973397ca69388d68b1b01e915bf..9f3c5dd08e6c331eefda12eddf9e8819c2d31383 100644 --- a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Account%20Module/view.xml +++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Account%20Module/view.xml @@ -26,7 +26,7 @@ </item> <item> <key> <string>category</string> </key> - <value> <string>object_view</string> </value> + <value> <string>object_list</string> </value> </item> <item> <key> <string>condition</string> </key> diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/module_view.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/module_view.xml new file mode 100644 index 0000000000000000000000000000000000000000..13afbae3e73fb2ba9b5bc89412a6e93bd9d1b9d2 --- /dev/null +++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/module_view.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_view</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>module_view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Manage portal</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.5</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</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}/Folder_viewModule</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/view.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/view.xml index f3027f72127fafc7a07f682c61a9d5e5341c59f2..c185180fd68b687f8999d0bfd67d8c817293106b 100644 --- a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/view.xml +++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/view.xml @@ -26,7 +26,7 @@ </item> <item> <key> <string>category</string> </key> - <value> <string>object_view</string> </value> + <value> <string>object_list</string> </value> </item> <item> <key> <string>condition</string> </key> diff --git a/bt5/erp5_accounting/bt/change_log b/bt5/erp5_accounting/bt/change_log index d4a582bf6d6165dcf8d2f5ffe3450a799b3aa263..f22cb535008cd896825c7686918e1e8b34bfd4b7 100644 --- a/bt5/erp5_accounting/bt/change_log +++ b/bt5/erp5_accounting/bt/change_log @@ -1,3 +1,6 @@ +2007-08-29 Yusei +* Added new view action for module. + 2007-08-13 Jerome * Remove portal type actions that are now defined as global actions diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index bbb3d18999890932e89458086ef2605644f068b7..c0db21d808434d1d2d318e959bc4c7c190a76dcf 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -389 \ No newline at end of file +392 \ 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 336ae32c9f9b797db4bc4d535afef33d3ff620e7..07a4750058ce40c93172ee38e9961ea03a3bc7d9 100644 --- a/bt5/erp5_accounting/bt/template_action_path_list +++ b/bt5/erp5_accounting/bt/template_action_path_list @@ -4,6 +4,7 @@ Account Module | bank_accounts_report Account Module | general_ledger_report Account Module | journal_report Account Module | jump_active_accounting_pref +Account Module | module_view Account Module | profit_and_loss_report Account Module | third_parties_report Account Module | trial_balance_report @@ -29,6 +30,7 @@ Accounting Transaction Module | journal_from_selection Accounting Transaction Module | journal_report Accounting Transaction Module | jump_active_accounting_pref Accounting Transaction Module | jump_bank_accounts +Accounting Transaction Module | module_view Accounting Transaction Module | plan_transactions Accounting Transaction Module | profit_and_loss_report Accounting Transaction Module | third_parties_report