diff options
| author | Ysa (Open ERP) <ysa@tinyerp.co.in> | 2010-04-06 12:45:46 +0530 |
|---|---|---|
| committer | Ysa (Open ERP) <ysa@tinyerp.co.in> | 2010-04-06 12:45:46 +0530 |
| commit | df4bf2ea53a09debbfe2f87acd44162c7446726b (patch) | |
| tree | a22372ff9bb2d75664b37daa6345cd7aef0569c2 /addons/board_document | |
| parent | a26fe9f3d058149e4f5e966a4444957e1f2ad23c (diff) | |
[IMP] board_document :- remove dependency report_document and change action name.
bzr revid: ysa@tinyerp.co.in-20100406071546-yxbfqvkipy8rbm9e
Diffstat (limited to 'addons/board_document')
| -rw-r--r-- | addons/board_document/__terp__.py | 2 | ||||
| -rw-r--r-- | addons/board_document/board_document_view.xml | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/addons/board_document/__terp__.py b/addons/board_document/__terp__.py index 77fd09fdf45..3dcd00627b4 100644 --- a/addons/board_document/__terp__.py +++ b/addons/board_document/__terp__.py @@ -32,7 +32,7 @@ * Files by Month (graph) """, 'author': 'Tiny', - 'depends': ['board', 'document', 'report_document'], + 'depends': ['board', 'document'], 'update_xml': ['board_document_view.xml'], 'demo_xml': ['board_document_demo.xml'], 'installable': True, diff --git a/addons/board_document/board_document_view.xml b/addons/board_document/board_document_view.xml index a35e6f9efe7..8cedcd02296 100644 --- a/addons/board_document/board_document_view.xml +++ b/addons/board_document/board_document_view.xml @@ -15,24 +15,24 @@ <child1> <action string="New Files" - name="%(report_document.action_view_all_document_tree1)d" + name="%(document.action_view_all_document_tree1)d" view_mode="tree" - domain="[('name','=',time.strftime('%%Y-%%m-01'))]"/> + domain="[('name','=',time.strftime('%%Y')),('month','=',time.strftime('%%m'))]"/> <action string="File Size by Month" - name="%(report_document.action_view_size_month)d" + name="%(document.action_view_size_month)d" view_mode="graph,tree"/> </child1> <child2> <action string="Files by Resource Type" - name="%(report_document.action_view_document_by_resourcetype_graph)d" + name="%(document.action_view_document_by_resourcetype_graph)d" view_mode="graph,tree"/> <action string="Files by Partner" - name="%(report_document.action_view_files_by_partner)d" + name="%(document.action_view_files_by_partner)d" view_mode="graph,tree"/> </child2> </hpaned> @@ -75,19 +75,19 @@ <child1> <action string="Wall of Shame" - name="%(report_document.action_view_wall)d" + name="%(document.action_view_wall)d" view_mode="tree"/> </child1> <child2> <action string="Files by Users" - name="%(report_document.action_view_user_graph)d" + name="%(document.action_view_user_graph)d" view_mode="graph,tree"/> <action string="Files by Month" - name="%(report_document.action_view_files_by_month_graph)d" + name="%(document.action_view_files_by_month_graph)d" view_mode="graph,tree"/> </child2> </hpaned> |
