Skip to content
Snippets Groups Projects
Commit 42bb9aab authored by Christophe Simonis's avatar Christophe Simonis
Browse files

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

parent d5384f8f
Branches
Tags
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment