diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2008-10-31 23:43:31 +0100 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2008-10-31 23:43:31 +0100 |
| commit | 77b9e4eae1c4aa26629d44c2569bb42f9c9427de (patch) | |
| tree | fb5e2c8438ccfecf434710a3c12b8a52a562ef06 /addons/board_document/board_document_view.xml | |
| parent | dcbad420a48ffdac7a4304ffecb9bf5bbfa7cdd8 (diff) | |
access_rights
bzr revid: fp@tinyerp.com-20081031224331-mw57t7md3ij44wzy
Diffstat (limited to 'addons/board_document/board_document_view.xml')
| -rw-r--r-- | addons/board_document/board_document_view.xml | 192 |
1 files changed, 99 insertions, 93 deletions
diff --git a/addons/board_document/board_document_view.xml b/addons/board_document/board_document_view.xml index 794b79590f4..d5d701680e1 100644 --- a/addons/board_document/board_document_view.xml +++ b/addons/board_document/board_document_view.xml @@ -1,106 +1,112 @@ <?xml version="1.0"?> <openerp> - <data> - <record model="board.note.type" id="note_document_type"> - <field name="name">Document</field> - </record> + <data> + <record model="board.note.type" id="note_document_type"> + <field name="name">Document</field> + </record> - <record model="ir.ui.view" id="board_document_manager_form"> - <field name="name">board.document.manager.form</field> - <field name="model">board.board</field> - <field name="type">form</field> - <field name="arch" type="xml"> - <form string="Document board"> - <hpaned position="100"> - <child1> - <action - string="New Files" - name="%(report_document.action_view_all_document_tree)d" - view_mode="tree"/> - - <action - string="File Size by Month" - name="%(report_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" - view_mode="graph,tree"/> - - <action - string="Files by Partner" - name="%(report_document.action_view_files_by_partner)d" - view_mode="graph,tree"/> - </child2> - </hpaned> - </form> - </field> - </record> + <record model="ir.ui.view" id="board_document_manager_form"> + <field name="name">board.document.manager.form</field> + <field name="model">board.board</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string="Document board"> + <hpaned position="100"> + <child1> + <action + string="New Files" + name="%(report_document.action_view_all_document_tree)d" + view_mode="tree"/> + + <action + string="File Size by Month" + name="%(report_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" + view_mode="graph,tree"/> + + <action + string="Files by Partner" + name="%(report_document.action_view_files_by_partner)d" + view_mode="graph,tree"/> + </child2> + </hpaned> + </form> + </field> + </record> - <record model="ir.actions.act_window" id="open_board_document_manager"> - <field name="name">Document Dashboard</field> - <field name="res_model">board.board</field> - <field name="view_type">form</field> - <field name="view_mode">form</field> + <record model="ir.actions.act_window" id="open_board_document_manager"> + <field name="name">Document Dashboard</field> + <field name="res_model">board.board</field> + <field name="view_type">form</field> + <field name="view_mode">form</field> - <field name="view_id" ref="board_document_manager_form"/> - </record> + <field name="view_id" ref="board_document_manager_form"/> + </record> - <menuitem - name="Dashboards/Document/Document Manager" - action="open_board_document_manager" - sequence="1" - id="menu_board_document_manager" - icon="terp-graph"/> + <menuitem + name="Document" + id="menu_board_document" + parent="board.dashboard_menu" + groups="document.group_document_manager"/> - <record model="ir.ui.view" id="board_document_manager_form1"> - <field name="name">board.document.manager.form1</field> - <field name="model">board.board</field> - <field name="type">form</field> - <field name="arch" type="xml"> - <form string="Document board"> - <hpaned position="100"> - <child1> - <action - string="Wall of Shame" - name="%(report_document.action_view_wall)d" - view_mode="tree"/> - - </child1> - <child2> - <action - string="Files by Users" - name="%(report_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" - view_mode="graph,tree"/> - - </child2> - </hpaned> - </form> - </field> - </record> + <menuitem + parent="menu_board_document" + action="open_board_document_manager" + sequence="1" + id="menu_board_document_manager" + icon="terp-graph"/> + <record model="ir.ui.view" id="board_document_manager_form1"> + <field name="name">board.document.manager.form1</field> + <field name="model">board.board</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string="Document board"> + <hpaned position="100"> + <child1> + <action + string="Wall of Shame" + name="%(report_document.action_view_wall)d" + view_mode="tree"/> + + </child1> + <child2> + <action + string="Files by Users" + name="%(report_document.action_view_user_graph)d" + view_mode="graph,tree"/> - <record model="ir.actions.act_window" id="open_board_document_manager1"> - <field name="name">Document Dashboard</field> - <field name="res_model">board.board</field> - <field name="view_type">form</field> - <field name="view_mode">form</field> - <field name="view_id" ref="board_document_manager_form1"/> - </record> + <action + string="Files by Month" + name="%(report_document.action_view_files_by_month_graph)d" + view_mode="graph,tree"/> + </child2> + </hpaned> + </form> + </field> + </record> - <menuitem - name="Dashboards/Document/Wall of Shame" - action="open_board_document_manager1" - sequence="1" - id="menu_board_document_manager1" - icon="terp-graph"/> - </data> + + <record model="ir.actions.act_window" id="open_board_document_manager1"> + <field name="name">Statistics by User</field> + <field name="res_model">board.board</field> + <field name="view_type">form</field> + <field name="view_mode">form</field> + <field name="view_id" ref="board_document_manager_form1"/> + </record> + + <menuitem + parent="menu_board_document" + action="open_board_document_manager1" + sequence="1" + id="menu_board_document_manager1" + icon="terp-graph"/> + </data> </openerp> |
