<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="note_warehouse_type" model="board.note.type">
            <field name="name">Warehouse</field>
        </record>

		<record id="action_reception_picking_move_board" model="ir.actions.act_window">
            <field name="name">Reception Picking Stock Move</field>
            <field name="res_model">stock.move</field>
            <field name="type">ir.actions.act_window</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="domain">[('picking_id','!=',False),('picking_id.type','=','in'),('date','&lt;=',time.strftime('%Y-%m-%d 23:59:59'))]</field>
            <field name="view_id" ref="stock.view_move_tree_reception_picking"/>
        </record>

		<record id="board_warehouse_form" model="ir.ui.view">
            <field name="name">board.warehouse.form</field>
            <field name="model">board.board</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Warehouse board">
                    <hpaned position="100">
                        <child1>
					    	<action colspan="4" name="%(action_reception_picking_move_board)d" string="Products To Receive" />
                        </child1>

                        <child2>
					    	<action colspan="4" name="%(stock.action_move_graph_reception_picking)d" string="Number of Products to receive Vs planned" width="510"/>
					    	<action colspan="4" name="%(stock.action_move_delivery_products_planned)d" string="Delivery Products Vs Planned" width="510"/>
                        </child2>
                    </hpaned>
                </form>
            </field>
        </record>

        <record id="open_board_warehouse" model="ir.actions.act_window">
            <field name="name">Warehouse 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_warehouse_form"/>
        </record>

		<menuitem id="menu_dashboard_stock" name="Dashboard" sequence="0" parent="stock.next_id_61"/>
        <menuitem action="open_board_warehouse" icon="terp-graph" id="menu_board_warehouse" parent="menu_dashboard_stock" sequence="1"/>
         <menuitem icon="terp-stock" id="stock.menu_stock_root" name="Warehouse" sequence="5" action="open_board_warehouse"/>

    </data>
</openerp>
