|
@@ -34,6 +34,12 @@
|
|
|
<field name="user_id" position="replace">
|
|
|
<field name="user_id" on_change="onchange_user(user_id)" string="Usuario del sistema" context="{'default_groups_ref': ['base.group_user']}"/>
|
|
|
</field>
|
|
|
+ <field name="gender" position="attributes">
|
|
|
+ <attribute name="attrs">{'invisible':True}</attribute>
|
|
|
+ </field>
|
|
|
+ <xpath expr="//form/sheet/notebook//group[@string='Birth']" position="attributes">
|
|
|
+ <attribute name="attrs">{'invisible':True}</attribute>
|
|
|
+ </xpath>
|
|
|
</field>
|
|
|
</record>
|
|
|
<record model="ir.ui.view" id="hr_employee_form_view2">
|