[IMP] HR: improve the usability Human Resources wizard
authorJagdish Panchal (Open ERP) <jap@tinyerp.com>
Wed, 4 Apr 2012 05:45:52 +0000 (11:15 +0530)
committerJagdish Panchal (Open ERP) <jap@tinyerp.com>
Wed, 4 Apr 2012 05:45:52 +0000 (11:15 +0530)
bzr revid: jap@tinyerp.com-20120404054552-sz2zxa7mf66lbx98

addons/hr_evaluation/hr_evaluation_installer.xml
addons/hr_expense/hr_expense_installer_view.xml
addons/hr_recruitment/hr_recruitment_installer_view.xml
addons/hr_recruitment/res_config_view.xml

index be4b047..e5fd649 100644 (file)
             <field name="inherit_id" ref="hr.view_human_resources_configuration"/>
             <field name="arch" type="xml">
                 <field name="module_hr_evaluation" position="after">
-                       <label string="Create Appraisal Plans :" />
-                       <button name="%(action_evaluation_plans_installer)d" string="Appraisal Plans" type="action" icon="gtk-apply"/>
+                       <group colspan="2" col="2">
+                           <label string="Create Appraisal Plans  : " />
+                           <button name="%(action_evaluation_plans_installer)d" string="Appraisal Plans" type="action" icon="gtk-apply"/>
+                       </group>
                 </field>
             </field>
         </record>
index 563597f..63fd017 100644 (file)
             <field name="inherit_id" ref="hr.view_human_resources_configuration"/>
             <field name="arch" type="xml">
                 <field name="module_hr_expense" position="after">
-                       <label string="Create Expenses Products :" />
-                       <button name="%(product_normal_form_view_installer)d" string="Expenses Products" type="action" icon="gtk-apply"/>
+                       <group colspan="2" col="2">
+                           <label string="Create Expenses Products :" />
+                           <button name="%(product_normal_form_view_installer)d" string="Expenses Products" type="action" icon="gtk-apply"/>
+                       </group>
                 </field>
             </field>
         </record>         
index af0cffa..4549aba 100644 (file)
             <field name="sequence">3</field>
         </record>
                
-        <!-- Hr Configuration wizard -->
-
-        <record id="view_recruitment_config_wizard_inherit" model="ir.ui.view">
-            <field name="name">human.recruitment.resources.configuration.form.inherit</field>
-            <field name="model">human.resources.configuration</field>
-            <field name="type">form</field>
-            <field name="inherit_id" ref="hr.view_human_resources_configuration"/>
-            <field name="arch" type="xml">
-                <field name="module_hr_recruitment" position="after">
-                       <label string="Create Recruitment Stages :" />
-                       <button name="%(hr_recruitment_stage_form_installer)d" string="Recruitment Stages" type="action" icon="gtk-apply"/>
-                </field>
-            </field>
-        </record>
-                               
     </data>
 </openerp>
index a345332..12a4043 100644 (file)
@@ -8,6 +8,12 @@
             <field name="type">form</field>
             <field name="inherit_id" ref="hr.view_human_resources_configuration"/>
             <field name="arch" type="xml">
+            <xpath expr="//field[@name='module_hr_recruitment']" position="after">
+               <group colspan="2" col="2">
+                    <label string="Create Recruitment Stages :" />
+                    <button name="%(hr_recruitment_stage_form_installer)d" string="Recruitment Stages" type="action" icon="gtk-apply"/>
+                </group>
+            </xpath>
             <xpath expr="//field[@name='module_hr_contract']" position="after"> 
                <group name="Recruitment" colspan="4" col="4" >            
                 <separator  string="Recruitment" colspan="4"/>