[FIX] hr_maintenance: allow to search and group equipments on employees and departments

This commit is contained in:
Christophe Simonis
2017-04-25 12:19:31 +02:00
parent d5384f8f9d
commit 42bb9aab27
@@ -65,6 +65,14 @@
<filter name="available" position="attributes">
<attribute name="domain">[('employee_id', '=', False), ('department_id', '=', False)]</attribute>
</filter>
<field name="owner_user_id" position="after">
<field name="employee_id"/>
<field name="department_id"/>
</field>
<group position="inside">
<filter string="Employee" domain="[]" context="{'group_by': 'employee_id'}"/>
<filter string="Department" domain="[]" context="{'group_by': 'department_id'}"/>
</group>
</field>
</record>