Commit f09d5d0e authored by Sebastian Castro's avatar Sebastian Castro
Browse files

se actualiza vista

parent 13b654c4
<?xml version="1.0" encoding="utf-8"?> <?xml version='1.0' encoding='utf-8'?>
<odoo> <odoo>
<data> <data>
<record id="qv_empleados_semillero_1" model="ir.ui.view">
<record id="qv_empleados_semillero_1" model="ir.ui.view"> <field name="model">hr.employee</field>
<field name="model">hr.employee</field> <field name="inherit_id" ref="hr.view_employee_form"/>
<field name="inherit_id" ref="hr.view_employee_form"/> <field name="arch" type="xml">
<field name="arch" type="xml"> <xpath expr="//field[@name='private_email']" position="before">
<xpath expr="//field[@name='private_email']" position="before"> <field name="tipo_documento"></field>
<field name="tipo_documento"></field> </xpath>
</xpath> <xpath expr="//field[@name='tipo_documento']" position="after">
</field> <field name="numero_documento_identidad"></field>
</record> </xpath>
<xpath expr="//page[@name='personal_information']/group/group[1]" position="inside">
<record id="qv_empleados_semillero_2" model="ir.ui.view"> <field name="eps"></field>
<field name="model">hr.employee</field> </xpath>
<field name="inherit_id" ref="hr.view_employee_form"/> <xpath expr="//page[@name='personal_information']/group/group[1]" position="inside">
<field name="arch" type="xml"> <field name="fondo_pensiones"></field>
<xpath expr="//field[@name='tipo_documento']" position="after"> </xpath>
<field name="numero_documento_identidad"></field> <xpath expr="//page[@name='personal_information']/group/group[1]" position="inside">
</xpath> <field name="genero"></field>
</field> </xpath>
</record> </field>
<record id="qv_empleados_semillero_3" model="ir.ui.view"> </record>
<field name="model">hr.employee</field> <record id="qv_empleados_semillero_2" model="ir.ui.view">
<field name="inherit_id" ref="hr.view_employee_form"/> <field name="model">hr.employee</field>
<field name="arch" type="xml"> <field name="inherit_id" ref="hr.view_employee_form"/>
<xpath expr="//page[@name='personal_information']/group/group[1]" position="inside"> <field name="arch" type="xml">
<field name="eps"></field> <xpath expr="//notebook/page[@name='personal_information']/group/group[2]" position="attributes">
</xpath> <attribute name ="invisible">1</attribute>
</field> </xpath>
</record> <xpath expr="//notebook/page[@name='personal_information']/group/group[4]" position="attributes">
<record id="qv_empleados_semillero_4" model="ir.ui.view"> <attribute name ="invisible">1</attribute>
<field name="model">hr.employee</field> </xpath>
<field name="inherit_id" ref="hr.view_employee_form"/> <xpath expr="//notebook/page[@name='personal_information']/group/group[6]" position="attributes">
<field name="arch" type="xml"> <attribute name ="invisible">1</attribute>
<xpath expr="//page[@name='personal_information']/group/group[1]" position="inside"> </xpath>
<field name="fondo_pensiones"></field> <xpath expr="//notebook/page[@name='personal_information']/group/group[7]" position="attributes">
</xpath> <attribute name ="invisible">1</attribute>
</field> </xpath>
</record> <xpath expr="//notebook/page[@name='personal_information']/group/group[1]/field[@name='address_home_id']" position="attributes">
<record id="qv_empleados_semillero_5" model="ir.ui.view"> <attribute name="invisible">1</attribute>
<field name="model">hr.employee</field> </xpath>
<field name="inherit_id" ref="hr.view_employee_form"/> <xpath expr="//notebook/page[@name='personal_information']/group/group[1]/field[@name='bank_account_id']" position="attributes">
<field name="arch" type="xml"> <attribute name="invisible">1</attribute>
<xpath expr="//page[@name='personal_information']/group/group[1]" position="inside"> </xpath>
<field name="genero"></field> <xpath expr="//notebook/page[@name='personal_information']/group/group[1]/div[@class='o_row']" position="attributes">
</xpath> <attribute name="invisible">1</attribute>
</field> </xpath>
</record> <xpath expr="//notebook/page[@name='personal_information']/group/group[1]/label[@for='km_home_work']" position="attributes">
<record id="qv_empleados_semillero_6" model="ir.ui.view"> <attribute name="invisible">1</attribute>
<field name="model">hr.employee</field> </xpath>
<field name="inherit_id" ref="hr.view_employee_form"/> <xpath expr="//h2[field/@name='job_title']" position="attributes">
<field name="arch" type="xml"> <attribute name="invisible">1</attribute>
<xpath expr="//page[@name='personal_information']/group/group[1]" position="inside"> </xpath>
<field name="departamento_empleado_ids"> <xpath expr="//field[@name='private_email']" position="attributes">
<tree> <attribute name="string">Correo Personal</attribute>
<field name="Departamento"/> </xpath>
</tree> <xpath expr="//field[@name='phone']" position="attributes">
<form> <attribute name="string">Telefono Personal</attribute>
<header> </xpath>
<button name="save" string="Save" type="object" class="btn-primary"/> <xpath expr="//field[@name='mobile_phone']" position="attributes">
or <attribute name="string">Celular Corporativo</attribute>
<button name="cancel" string="Cancel" type="object" class="btn-secondary" special="cancel"/> </xpath>
</header> <xpath expr="//field[@name='work_phone']" position="attributes">
<sheet> <attribute name="invisible">1</attribute>
<group> </xpath>
<field name="Departamento"/> <xpath expr="//field[@name='coach_id']" position="attributes">
</group> <attribute name="string">Jefe Inmediato</attribute>
</sheet> </xpath>
</form> <xpath expr="//field[@name='emergency_contact']" position="after">
</field> <field name="parentesco"></field>
</xpath> </xpath>
</field> <xpath expr="//form/sheet/notebook/page[@name='personal_information']/group/group[5]" position="attributes">
</record> <attribute name="string" >Contacto de Emergencia </attribute>
<record id="qv_empleados_semillero_7" model="ir.ui.view"> </xpath>
<field name="model">hr.employee</field> <xpath expr="//page[@name='personal_information']/group[position()=1]/group[position()=1]" position="after">
<field name="inherit_id" ref="hr.view_employee_form"/> <group string="Direccion" col="2">
<field name="arch" type="xml"> <field name="tipo_via"></field>
<xpath expr="//page[@name='personal_information']/group/group[1]" position="inside"> <field name="nombre_via"></field>
<field name="ciudad"></field> <field name="numero_via"></field>
</xpath> <field name="comp_via"></field>
</field> <field name="vivienda"></field>
</record> <field name="numero_casa"></field>
<record id="qv_empleados_semillero_8" model="ir.ui.view"> <field name="complemento"></field>
<field name="model">hr.employee</field> <field name="barrio"></field>
<field name="inherit_id" ref="hr.view_employee_form"/> <field name="localidad"></field>
<field name="arch" type="xml"> </group>
<xpath expr="//page[@name='personal_information']/group/group[1]" position="inside"> </xpath>
<field name="grupo_sanguineo"></field> <xpath expr="//page[@name='personal_information']/group[last()]" position="inside">
</xpath> <group string="Redes Sociales">
</field> <field name="linkedin"/>
</record> <field name="facebook"/>
<record id="qv_empleados_semillero_9" model="ir.ui.view"> <field name="instagram"/>
<field name="model">hr.employee</field> <field name="skype"/>
<field name="inherit_id" ref="hr.view_employee_form"/> <field name="twitter"/>
<field name="arch" type="xml"> </group>
<xpath expr="//notebook/page[@name='personal_information']/group/group[2]" position="attributes"> </xpath>
<attribute name ="invisible">1</attribute> <!-- Heredamos las páginas existentes -->
</xpath>
<xpath expr="//notebook/page[@name='personal_information']/group/group[4]" position="attributes">
<attribute name ="invisible">1</attribute>
</xpath>
<xpath expr="//notebook/page[@name='personal_information']/group/group[6]" position="attributes">
<attribute name ="invisible">1</attribute>
</xpath>
<xpath expr="//notebook/page[@name='personal_information']/group/group[7]" position="attributes">
<attribute name ="invisible">1</attribute>
</xpath>
<xpath expr="//notebook/page[@name='personal_information']/group/group[1]/field[@name='address_home_id']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//notebook/page[@name='personal_information']/group/group[1]/field[@name='bank_account_id']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//notebook/page[@name='personal_information']/group/group[1]/div[@class='o_row']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//notebook/page[@name='personal_information']/group/group[1]/label[@for='km_home_work']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//h2[field/@name='job_title']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='private_email']" position="attributes">
<attribute name="string">Correo Personal</attribute>
</xpath>
<xpath expr="//field[@name='phone']" position="attributes">
<attribute name="string">Telefono Personal</attribute>
</xpath>
<xpath expr="//field[@name='mobile_phone']" position="attributes">
<attribute name="string">Celular Corporativo</attribute>
</xpath>
<xpath expr="//field[@name='work_phone']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='coach_id']" position="attributes">
<attribute name="string">Jefe Inmediato</attribute>
</xpath>
</field>
</record>
<record id="qv_empleados_semillero_10" model="ir.ui.view">
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='emergency_contact']" position="after">
<field name="parentesco"></field>
</xpath>
<xpath expr="//form/sheet/notebook/page[@name='personal_information']/group/group[5]" position="attributes">
<attribute name="string" >Contacto de Emergencia </attribute>
</xpath>
</field>
</record>
<record id="qv_empleados_semillero_11" model="ir.ui.view">
<field name="name">hr.employee.form.inherit.personal.information</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"></field>
<field name="arch" type="xml">
<xpath expr="//page[@name='personal_information']/group[position()=1]/group[position()=1]" position="after">
<group string="Direccion" col="2">
<field name="tipo_via"></field>
<field name="nombre_via"></field>
<field name="numero_via"></field>
<field name="comp_via"></field>
<field name="vivienda"></field>
<field name="numero_casa"></field>
<field name="complemento"></field>
<field name="barrio"></field>
<field name="localidad"></field>
</group>
</xpath>
<xpath expr="//page[@name='personal_information']/group[last()]" position="inside">
<group string="Redes Sociales">
<field name="linkedin"/>
<field name="facebook"/>
<field name="instagram"/>
<field name="skype"/>
<field name="twitter"/>
</group>
</xpath>
</field>
</record>
<record id="qv_empleados_semillero_12" model="ir.ui.view">
<field name="name">hr.employee.form.inherit</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<!-- Heredamos las páginas existentes -->
<xpath expr="//notebook" position="inside"> <xpath expr="//notebook" position="inside">
<page string="Currículum Vitae"> <page string="Currículum Vitae">
<group string="Habilidades"/> <group string="Habilidades"/>
...@@ -228,7 +134,19 @@ ...@@ -228,7 +134,19 @@
</xpath> </xpath>
</xpath> </xpath>
</field>
</record>
</data> </field>
</odoo>
</record>
</data>
</odoo>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment