diff options
| author | Aaron Bohy <aab@odoo.com> | 2020-04-29 07:21:50 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-05-05 10:05:12 +0000 |
| commit | b6d05f6015334ff6facfa65b7631c26f5ae8b186 (patch) | |
| tree | b65700825a9689aef8c6a926173d2203ef7ae190 /addons/project/views | |
| parent | 900d1628090bd3041e0205ef7e1b7e2667e220c0 (diff) | |
[IMP] *: update kanban views
Use the new Many2OneAvatarUser field widget in some kanban views,
which allows to open a DM chat window with the corresponding user
by clicking on the avatar.
Part of task 2195254
Diffstat (limited to 'addons/project/views')
| -rw-r--r-- | addons/project/views/project_views.xml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index d05f68865ab..03ca2bafb53 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -692,10 +692,7 @@ </div> <div class="oe_kanban_bottom_right" t-if="!selection_mode"> <field name="kanban_state" widget="state_selection" groups="base.group_user" invisible="context.get('fsm_mode', False)"/> - <img t-if="record.user_id.raw_value" - t-att-src="kanban_image('res.users', 'image_128', record.user_id.raw_value)" - t-att-title="record.user_id.value" - t-att-alt="record.user_id.value" class="oe_kanban_avatar"/> + <field name="user_id" widget="many2one_avatar_user"/> </div> </div> </div> |
