<?xml version="1.0"?>
<openerp>
    <data>

    <record id="view_applicants_status_tree" model="ir.ui.view">
        <field name="name">applicants.status.tree</field>
        <field name="model">hr.applicant</field>
        <field name="arch" type="xml">
            <tree  string="Applicants Status">
                <field name="create_date"/>
                <field name="job_id"/>
                <field name="partner_name"/>
                <field name="stage_id"/>
                <field name="user_id"/>
            </tree>
        </field>
    </record>

    <record id="action_applicants_status" model="ir.actions.act_window">
        <field name="name">Applicants Status</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">hr.applicant</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
        <field name="domain">[('state','in',('draft','open'))]</field>
        <field name="view_id" ref="view_applicants_status_tree"/>
    </record>

    <record id="board_hr_applicants_status_form" model="ir.ui.view">
        <field name="name">board.hr.applicants.status.form</field>
        <field name="model">board.board</field>
        <field name="inherit_id" ref="hr.board_hr_form"/>
        <field name="arch" type="xml">
            <xpath expr="/form/board/column[1]" position="inside">
                <action name="%(action_applicants_status)d" string="Applications to be Processed"/>
            </xpath>
        </field>
    </record>

    </data>
</openerp>
