[FIX] project: fix the avatar on task quick create

Before this commit,  project task kanban quick create does not
display the avatar on user_ids due to m2m tags widget.

so in this commit, replace the many2many_tags widget with many2many_avatar_user.

task-2871552

closes odoo/odoo#102771

X-original-commit: 02226e70f0367033e279e937dc439422ef8956f5
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
Jensi Chovatiya
2022-10-08 14:22:43 +02:00
committed by Laurent Stukkens (LTU)
parent 6b82a26803
commit ca913fe69a
+1 -1
View File
@@ -1369,7 +1369,7 @@
<field name="name" string = "Task Title" placeholder="e.g. Send Invitations"/>
<field name="project_id" widget="project_private_task" invisible="context.get('default_project_id', False)" placeholder="Private" class="o_project_task_project_field"/>
<field name="user_ids" options="{'no_open': True, 'no_quick_create': True}" domain="[('share', '=', False), ('active', '=', True)]"
widget="many2many_tags"/>
widget="many2many_avatar_user"/>
<field name="company_id" invisible="1"/>
<field name="parent_id" invisible="1" groups="base.group_no_one"/>
</group>