[IMP] move email and phone to top
authorMartin Trigaux <mat@openerp.com>
Wed, 13 Mar 2013 16:04:04 +0000 (17:04 +0100)
committerMartin Trigaux <mat@openerp.com>
Wed, 13 Mar 2013 16:04:04 +0000 (17:04 +0100)
bzr revid: mat@openerp.com-20130313160404-qxei05n3x8211ak1

addons/hr/hr_view.xml

index edde367..7883e99 100644 (file)
                             </h1>
                             <label for="category_ids" class="oe_edit_only" groups="base.group_hr_user"/>
                             <field name="category_ids" widget="many2many_tags" placeholder="e.g. Part Time" groups="base.group_hr_user"/>
+                            <label for="work_email" class="oe_edit_only"/>
+                            <field name="work_email" widget="email"/>
+                            <label for="work_phone" class="oe_edit_only"/>
+                            <field name="work_phone"/>
                         </div>
                         <div class="oe_right oe_button_box" name="button_box">
                             <!-- Put here related buttons -->
@@ -36,8 +40,6 @@
                                 <group>
                                     <group string="Contact Information">
                                         <field name="address_id" on_change="onchange_address_id(address_id)" context="{'show_address': 1}" options='{"always_reload": True, "highlight_first_line": True}'/>
-                                        <field name="work_email" widget="email"/>
-                                        <field name="work_phone"/>
                                         <field name="mobile_phone"/>
                                         <field name="work_location"/>
                                     </group>