[IMP] project_assignees:add 'assigned to' filter in tasks kanban view

This commit is contained in:
2023-09-18 15:55:05 +02:00
committed by Stéphan Sainléger
parent 0bff01ad76
commit 1a342d3b8b
2 changed files with 4 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "project_assignees",
"version": "14.0.1.0.0",
"version": "14.0.1.1.0",
"author": "Elabore",
"website": "https://github.com/elabore-coop/project-tools",
"maintainer": "Stéphan Sainléger",

View File

@@ -21,6 +21,9 @@
<filter name="my_tasks" position="attributes">
<attribute name="domain">['|', ('user_id', '=', uid), ('assignee_ids', 'in', uid)]</attribute>
</filter>
<xpath expr="//field[@name='partner_id']" position="after">
<field name="assignee_ids" filter_domain="[('assignee_ids.user_ids.name', 'ilike', self)]"/>
</xpath>
</field>
</record>
</odoo>