[FIX] project: fix search result for user_ids in task search view
Before this commit: in task search view quick search on user_ids return active and non-active tasks of user. this commit remove active_test false from context of user_ids' quick search so it should only return active tasks of user. task-2758779 X-original-commit: 6148736215fe91d1eb1b19fd08809bdfe5a61fe2 Part-of: odoo/odoo#89329
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<search string="Tasks">
|
||||
<field name="name" string="Task"/>
|
||||
<field name="tag_ids"/>
|
||||
<field name="user_ids" context="{'active_test': False}"/>
|
||||
<field name="user_ids" filter_domain="[('user_ids', 'ilike', self), ('user_ids.active', 'in', [True, False])]"/>
|
||||
<field string="Project" name="display_project_id"/>
|
||||
<field name="stage_id"/>
|
||||
<field name="partner_id" operator="child_of"/>
|
||||
|
||||
Reference in New Issue
Block a user