Hi,
I have a new field department_ids for additional department in employee. So when i search for department name(Sales) in filter i need to get all employees whose department_id or department_ids is Sales.
I tried to add like below:
<field name="department_id" string="Departments" filter_domain="['|',('department_id', '=', self),('department_ids', '=', self)]"/>
But its not working, because department_ids is Many2many field.
Is there any solution that i can use both department_id and department_ids in same filter.
Thanks in advance.