[IMP] Changed all module categories, limited number of categories
[odoo/odoo.git] / addons / hr / hr_installer.xml
index ff6025c..5ccbaef 100644 (file)
@@ -1,5 +1,7 @@
+<?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>
@@ -7,33 +9,38 @@
       <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>
-
-          <separator string="title" position="attributes">
-            <attribute name="string">Configure Human Resources"</attribute>
-          </separator>
-          <xpath expr="//label[@string='description']"
-                 position="attributes">
-            <attribute name="string">The base Human Resources addon will help you manage your employee roster, but your can enhance it even further by installing a few HR-related applications.</attribute>
-          </xpath>
+            <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">
-            <separator string="Human Resources Management" colspan="4"/>
             <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_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[@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"/>
@@ -45,6 +52,8 @@
     <record id="hr_installer_todo" model="ir.actions.todo">
       <field name="action_id" ref="action_hr_installer"/>
       <field name="sequence">3</field>
+            <field name="restart">always</field>
     </record>
+
   </data>
 </openerp>