odoo/addons/board/board_mydashboard_view.xml

45 lines
1.7 KiB
XML
Raw Normal View History

<?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 customize 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
there 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="5"/>
</data>
</openerp>