[IMP]view improvement in hr and timesheet
authorSanjay Gohel (Open ERP) <sgo@tinyerp.com>
Fri, 22 Jun 2012 05:16:45 +0000 (10:46 +0530)
committerSanjay Gohel (Open ERP) <sgo@tinyerp.com>
Fri, 22 Jun 2012 05:16:45 +0000 (10:46 +0530)
bzr revid: sgo@tinyerp.com-20120622051645-b0cldnh13z550sd3

addons/hr/hr_view.xml
addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml

index 89ab6d2..0edb22c 100644 (file)
                     </div>
                     <field class="oe_right" name="photo" widget='image' on_change="onchange_photo(photo)"/>
                     <label for="name" class="oe_edit_only"/>
-                       <h1><field name="name"/>,
-                        <field name="company_id" class="oe_inline" widget="selection" on_change="onchange_company(company_id)" groups="base.group_multi_company"/>at
-                        <field name="job_id" class="oe_inline oe_edit_only" domain="[('state','!=','old')]" context="{'form_view_ref': 'hr.view_hr_job_employee_form'}"/>
-                    </h1>
+                       <h1><field name="name"/>,</h1>
+                    <label for="company_id" class="oe_edit_only"/>
+                        <h1><field name="company_id" class="oe_inline" widget="selection" on_change="onchange_company(company_id)" groups="base.group_multi_company"/></h1>
+                     <label for="job_id" class="oe_edit_only"/>
+                        <h1>at <field name="job_id" class="oe_inline" domain="[('state','!=','old')]" context="{'form_view_ref': 'hr.view_hr_job_employee_form'}"/></h1>
+                    
                     <label for="department_id" class="oe_edit_only"/>
                     <h2><field name="department_id" on_change="onchange_department_id(department_id)"/></h2>
                     <h3><field name="category_ids" widget="many2many_tags"/></h3>
index 3978b61..75edeb6 100644 (file)
@@ -93,7 +93,7 @@
                                         <field invisible="1" name="employee_id"/>
                                     </tree>
                                 </field>
-                                <group colspan="2" col="2">
+                                <group class="oe_right">
                                     <button name="sign_in" string="Sign In" type="object" icon="terp-gtk-jump-to-ltr"/>
                                     <button name="sign_out" string="Sign Out" type="object" icon="terp-gtk-jump-to-rtl"/>
                                 </group>