<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <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="arch" type="xml">
                <form string="Manufacturing board" version="7.0">
                    <board style="2-1">
                        <column>
                            <action name="%(procurement.procurement_exceptions)d" string="Procurements in Exception" domain="[('state','=','exception')]"/>
                        </column>
                        <column>
                            <action name="%(mrp.action_report_in_out_picking_tree)d" string="Stock Value Variation"/>
                        </column>
                    </board>
                </form>
            </field>
        </record>

        <record id="open_board_manufacturing" model="ir.actions.act_window">
            <field name="name">Manufacturing</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 action="open_board_manufacturing"
                  icon="terp-graph"
                  id="menu_board_manufacturing"
                  parent="base.menu_reporting_dashboard"
                  sequence="30"
                  groups="group_mrp_manager"/>

    </data>
</openerp>
