i want to enable employee to see all his info and other employees info ( without working hours field "resource_calendar_id" )
<record id="hide_working_hours_for_employees" model="ir.ui.view">
<field name="name">Hide Working Hours Employees Form</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='resource_calendar_id']" position="attributes">
<attribute name="attrs">{'invisible': [()]}</attribute>
</xpath>
</field>
</record>
what is the appropriate condition to put in attrs
thanks
Inheritance in models and views in odoo: https://goo.gl/4Zyc9d