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

        <record id="board_mrp_manager_form" model="ir.ui.view">
            <field name="name">board.mrp.manager.form</field>
            <field name="model">board.board</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Manufacturing board">
                    <hpaned position="100">
                        <child1>
                            <action colspan="4" height="200" name="%(mrp.mrp_production_action2)d" string="Next production orders" width="510"/>
                            <action colspan="4" name="%(stock.action_picking_tree)d" string="Deliveries (Out picking)" domain="[('state','=','assigned'),('type','=','out')]"/>
                            <action colspan="4" name="%(procurement.procurement_action4)d" string="Procurements in Exception"/>
                        </child1>
                        <child2>
                            <action colspan="4" name="%(mrp.action_report_workcenter_load_tree)d" string="Work Center future load"/>

                            <action colspan="4" name="%(mrp.action_report_in_out_picking_tree)d" string="Stock value variation"/>
                        </child2>
                    </hpaned>
                </form>
            </field>
        </record>

        <record id="open_board_manufacturing" model="ir.actions.act_window">
            <field name="name">Production 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_mrp_manager_form"/>
        </record>

        <menuitem id="menus_dash_mrp" name="Dashboard"
            parent="next_id_77" sequence="0"/>
        <menuitem
            action="open_board_manufacturing"
            icon="terp-graph"
            id="menu_board_manufacturing"
            parent="menus_dash_mrp"
            sequence="1" groups="mrp.group_mrp_manager,mrp.group_mrp_user"/>
        <menuitem icon="terp-mrp" id="base.menu_mrp_root" name="Manufacturing"
            groups="group_mrp_user,group_mrp_manager,base.group_system" sequence="8"
            action="open_board_manufacturing"/>
    </data>
</openerp>
