[FIX] project: align the project and task name to the right in the activity view
purpose of this commit is to display the project name and task to the right of the div in the activity view. before this commit, the project name and task displays next to the many2many_tags div in the activity view. closes odoo/odoo#78738 Taskid: 2646204 X-original-commit: bb9734fbf761c3c11be0226cbe4da9d764ccbf74 Related: odoo/enterprise#21817 Signed-off-by: LTU-Odoo <IT-Ideas@users.noreply.github.com>
This commit is contained in:
committed by
Barad Mahendra
parent
5664bda0f7
commit
11228a2c7c
@@ -1211,11 +1211,15 @@
|
||||
<activity string="Project Tasks" js_class="project_activity">
|
||||
<field name="user_ids"/>
|
||||
<templates>
|
||||
<div t-name="activity-box">
|
||||
<div class="justify-content-between" t-name="activity-box">
|
||||
<field name="user_ids" widget="many2many_avatar_user"/>
|
||||
<div>
|
||||
<field name="name" display="full"/>
|
||||
<field name="project_id" muted="1" display="full" invisible="context.get('default_project_id', False)"/>
|
||||
<div class="text-right">
|
||||
<span t-att-title="record.name.value">
|
||||
<field name="name" display="full"/>
|
||||
</span>
|
||||
<span t-att-title="record.project_id.value">
|
||||
<field name="project_id" muted="1" display="full" invisible="context.get('default_project_id', False)"/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user