- <div class="oe_right oe_button_box">
- <!-- Put here related buttons -->
- </div>
- <field class="oe_right" name="image_small" widget='image' on_change="onchange_image(image_small)"/>
- <div class="oe_title">
- <label for="name" class="oe_edit_only"/>
- <h1><field name="name"/></h1>
-
- <label for="company_id" class="oe_edit_only" groups="base.group_multi_company"/>
- <h2><field name="company_id" widget="selection" on_change="onchange_company(company_id)" groups="base.group_multi_company"/></h2>
-
- <label for="department_id" class="oe_edit_only"/>
- <h2><field name="department_id" on_change="onchange_department_id(department_id)"/></h2>
- </div>
- <notebook>
- <page string="Personal Information">
- <group>
- <group string="General">
- <field name="user_id" on_change="onchange_user(user_id)"/>
- <field name="active"/>
- <field name="parent_id"/>
- </group>
- <group groups="base.group_hr_user" string="Social IDs">
- <field name="identification_id"/>
- <field name="passport_id"/>
- <field name="otherid"/>
- </group>
- <group groups="base.group_hr_user" string="Status">
- <field name="gender"/>
- <field name="marital"/>
- <field name="country_id"/>
- <field name="birthday"/>
+ <field name="image_medium" widget='image' class="oe_left oe_avatar"/>
+ <div class="oe_title">
+ <label for="name" class="oe_edit_only"/>
+ <h1>
+ <field name="name"/>
+ </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"/>
+ </div>
+ <div class="oe_right oe_button_box" name="button_box">
+ <!-- Put here related buttons -->
+ </div>
+ <notebook>
+ <page string="Public Information">
+ <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>
+ <group string="Position">
+ <field name="department_id" on_change="onchange_department_id(department_id)"/>
+ <field name="job_id" options='{"no_open": True}' domain="[('state','!=','old')]" context="{'form_view_ref': 'hr.view_hr_job_employee_form'}"/>
+ <field name="parent_id"/>
+ <field name="coach_id"/>
+ </group>
+ <group>
+ <field name="company_id" groups="base.group_multi_company" on_change="onchange_company(company_id)"/>
+ <field name="user_id" on_change="onchange_user(user_id)" string="Related User"/>
+ </group>