<?xml version="1.0" encoding="utf-8"?>
<openerp>
  <data>

    <record id="view_hr_installer" model="ir.ui.view">
      <field name="name">hr.installer.view</field>
      <field name="model">hr.installer</field>
      <field name="type">form</field>
      <field name="inherit_id" ref="base.res_config_installer"/>
      <field name="arch" type="xml">
        <data>
            <form position="attributes">
                <attribute name="string">Human Resources Application Configuration</attribute>
            </form>
            <separator string="title" position="attributes">
                <attribute name="string">Configure Your Human Resources Application</attribute>
            </separator>
            <xpath expr='//separator[@string="vsep"]' position='attributes'>
                <attribute name='string'></attribute>
            </xpath>
            <xpath expr="//label[@string='description']" position="attributes">
                <attribute name="string">You can enhance the base HR Application by installing few HR-related functionalities.</attribute>
            </xpath>
          <group colspan="8">
            <field name="hr_holidays"/>
            <field name="hr_expense"/>
            <field name="hr_recruitment"/>
            <field name="hr_timesheet_sheet"/>
            <field name="hr_contract"/>
            <field name="hr_evaluation"/>
            <field name="hr_attendance"/>
            <field name="hr_payroll" groups="base.group_extended"/>
            <field name="hr_payroll_account" groups="base.group_extended"/>
          </group>
          <xpath expr="//button[@string='Install Modules']" position="attributes">
              <attribute name="string">Configure</attribute>
          </xpath>
        </data>
      </field>
    </record>

    <record id="action_hr_installer" model="ir.actions.act_window">
      <field name="name">Human Resources Application Configuration</field>
      <field name="type">ir.actions.act_window</field>
      <field name="res_model">hr.installer</field>
      <field name="view_id" ref="view_hr_installer"/>
      <field name="view_type">form</field>
      <field name="view_mode">form</field>
      <field name="target">new</field>
    </record>

    <record id="hr_installer_todo" model="ir.actions.todo">
      <field name="action_id" ref="action_hr_installer"/>
      <field name="sequence">3</field>
    </record>

  </data>
</openerp>
