[MERGE] lp:~openerp-commiter/openobject-addons/trunk-review-dashboards-mydashboard-aja

bzr revid: jam@tinyerp.com-20120607121909-q2fobbj2je9u0x27
This commit is contained in:
Jigar Amin - OpenERP
2012-06-07 17:49:09 +05:30
2 changed files with 44 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@ The user can also publish notes.
'board_view.xml',
'board_data_admin.xml',
'board_data_home.xml',
'board_mydashboard_view.xml'
],
'demo_xml': [
'board_demo.xml'
+43
View File
@@ -0,0 +1,43 @@
<?xml version="1.0"?>
<openerp>
<data>
<!--My Dashboard-->
<record model="ir.ui.view" id="board_my_dash_view">
<field name="name">My Dashboard</field>
<field name="model">board.board</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="My Dashboard" layout="manual">
<board style="1-1">
<column>
</column>
</board>
</form>
</field>
</record>
<!--My Dashboard Action-->
<record model="ir.actions.act_window" id="open_board_my_dash_action">
<field name="name">My Dashboard</field>
<field name="res_model">board.board</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="usage">menu</field>
<field name="view_id" ref="board_my_dash_view"/>
<field name="help">To cutomize your dashboard. Go to any view of
the OpenERP, apply any of available filters and click to 'Add to Dashboard'
through the search options. Now return to your Dashboard and check if the
board you have just added is their or not. Drag and Drop to organize them
in the sequence you want. You can Remove any board by clicking cross button.
</field>
</record>
<!--My Dashboard Menu-->
<menuitem
id="menu_board_my_dash"
parent="base.menu_reporting_dashboard"
action="open_board_my_dash_action"
sequence="0"/>
</data>
</openerp>