Sunteți pe pagina 1din 4

<?xml version="1.0"?

>

<form string="Employee">

<sheet>

<div class="oe_button_box" name="button_box">

<button name="toggle_active" type="object" groups="base.group_hr_user"


class="oe_stat_button" icon="fa-archive">

<field name="active" widget="boolean_button"


options="{&quot;terminology&quot;: &quot;archive&quot;}"/>

</button>

</div>

<field name="image" widget="image" class="oe_avatar"


options="{&quot;preview_image&quot;:&quot;image_medium&quot;}"/>

<div class="oe_title">

<label for="name" class="oe_edit_only"/>

<h1>

<field name="name" placeholder="Employee's Name"/>

</h1>

</div>

<field name="category_ids" widget="many2many_tags" placeholder="e.g. Part Time"


groups="base.group_hr_user"/>

<notebook>

<page name="public" string="Public Information">

<group>

<group string="Contact Information">

<field name="address_id" on_change="onchange_address_id(address_id)"


context="{'show_address': 1}" options="{&quot;always_reload&quot;: True,
&quot;highlight_first_line&quot;: True}"/>

<field name="x_FIngreso"/>

<field name="x_FRetiro"/>

<field name="mobile_phone"/>

<field name="work_location"/>
<field name="work_email" widget="email"/>

<field name="work_phone"/>

</group>

<group string="Position">

<field name="department_id"
on_change="onchange_department_id(department_id)"/>

<field name="job_id"/>

<field name="parent_id"/>

<field name="coach_id"/>

</group>

</group>

<field name="notes" placeholder="Other Information ..." colspan="4"/>

</page>

<page string="Personal Information" groups="base.group_hr_user">

<group>

<group string="Citizenship &amp; Other Information">

<field name="country_id" options="{&quot;no_open&quot;: True,


&quot;no_create&quot;: True}"/>

<field name="identification_id" groups="base.group_hr_user"/>

<field name="x_EXPCC"/>

<field name="x_LIBRETAM"/>

<field name="x_ClaseLibreta"/>

<field name="passport_id" groups="base.group_hr_user"/>

<field name="bank_account_id" context="{'default_partner_id':


address_home_id}"/>

<field name="x_RUT"/>

<field name="x_PRO"/>

<field name="x_CON"/>

<field name="x_POL"/>

</group>
<group string="Contact Information">

<field name="address_home_id" context="{'show_address': 1}"


options="{&quot;always_reload&quot;: True, &quot;highlight_first_line&quot;: True}"/>

<field name="x_EPS"/>

<field name="x_AFP"/>

<field name="x_ARL"/>

<field name="x_CAJA"/>

<field name="x_CES"/>

</group>

<group string="Status">

<field name="gender"/>

<field name="marital"/>

</group>

<group string="Birth">

<field name="birthday"/>

<field name="x_GSRH"/>

<field name="x_Estatura"/>

</group>

</group>

</page>

<page string="HR Settings" groups="base.group_hr_user">

<group>

<group string="Status" name="active_group">

<field name="company_id" groups="base.group_multi_company"


on_change="onchange_company(company_id)"/>

<field name="user_id" on_change="onchange_user(name, image, user_id)"


string="Related User" context="{'default_groups_ref': ['base.group_user']}"/>

<field name="x_Per1"/> <field name="x_CarPer1"/> <field


name="x_TelPer1"/>

<field name="x_Per2"/> <field name="x_CarPer2"/> <field


name="x_TelPer2"/>
<field name="x_Per3"/> <field name="x_CarPer3"/> <field
name="x_TelPer3"/>

<field name="x_Lab1"/> <field name="x_CarLab1"/> <field


name="x_TelLab1"/> <field name="x_FecLab1"/> <field name="x_FecTerLab1"/>

<field name="x_Lab2"/> <field name="x_CarLab2"/> <field


name="x_TelLab2"/> <field name="x_FecLab2"/> <field name="x_FecTerLab2"/>

<field name="x_Lab3"/> <field name="x_CarLab3"/> <field


name="x_TelLab3"/> <field name="x_FecLab3"/> <field name="x_FecTerLab3"/>

</group>

</group>

</page>

</notebook>

</sheet>

<div class="oe_chatter">

<field name="message_follower_ids" widget="mail_followers"


groups="base.group_user"/>

<field name="message_ids" widget="mail_thread"/>

</div>

</form>

S-ar putea să vă placă și