[IMP] Changed all module categories, limited number of categories
[odoo/odoo.git] / addons / hr / hr_installer.xml
index 05e47c9..5ccbaef 100644 (file)
@@ -1,43 +1,46 @@
+<?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_view_base"/>
+      <field name="inherit_id" ref="base.res_config_installer"/>
       <field name="arch" type="xml">
         <data>
-          <form position="attributes"><attribute name="string">
-              Human Resources Modules Installation
-          </attribute></form>
-
-          <group string="res_config_contents" position="replace">
-            <separator string="Configure Human Resources" colspan="4"/>
-            <image name="gtk-dialog-info"/>
-            <newline/>
-            <label align="0.0" string=""/>
-            <group>
-              <separator string="Human Resources Management" colspan="4"/>
-              <field name="hr_holidays"/>
-              <field name="hr_expense"/>
-              <field name="hr_jobs"/>
-              <field name="hr_timesheet_sheet"/>
-              <field name="hr_contract"/>
-              <field name="hr_evaluation"/>
-              <field name="hr_attendance"/>
-            </group>
+            <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_attendance"/>
+            <field name="hr_evaluation" groups="base.group_extended"/>
+            <field name="hr_payroll" groups="base.group_extended"/>
+            <field name="hr_payroll_account" groups="base.group_extended"/>
           </group>
-
-          <xpath expr='//button[@name="action_skip"]' position='replace'/>
-          <xpath expr='//button[@name="action_next"]' position='attributes'>
-            <attribute name='string'>Install Modules</attribute>
+          <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 Modules Installation</field>
+      <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"/>
@@ -48,7 +51,9 @@
 
     <record id="hr_installer_todo" model="ir.actions.todo">
       <field name="action_id" ref="action_hr_installer"/>
-      <field name="sequence">1</field>
+      <field name="sequence">3</field>
+            <field name="restart">always</field>
     </record>
+
   </data>
 </openerp>