summaryrefslogtreecommitdiff
path: root/addons/note/views/note_views.xml
diff options
context:
space:
mode:
authorKrupal Oza <koz@odoo.com>2020-02-03 05:42:53 +0000
committerYannick Tivisse <yti@odoo.com>2020-03-20 09:05:11 +0000
commit5e4ddfaacfa36a757fb2efca98a45c2d07516135 (patch)
tree831863a35154a6e2f89f49f38b272b155a764b02 /addons/note/views/note_views.xml
parent1959e7756a341ab8b76920e194376b7e6af6cd91 (diff)
[IMP] note: Improve notes kanban card layout
Purpose of the task is to fix layout of kanban view in notes. Currently the kanban view of the note is having bad layout of activity. The activity is shown under the note and at left side. After this commit, it will fixes the layout by setting the float-right and mr4 in div of activity_ids and remove unnecessary div of it and also adding the spaces above the images. closes odoo/odoo#44445 Taskid: 2186292 Closes: #44445 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/note/views/note_views.xml')
-rw-r--r--addons/note/views/note_views.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/addons/note/views/note_views.xml b/addons/note/views/note_views.xml
index 26a83295882..b6c586157d5 100644
--- a/addons/note/views/note_views.xml
+++ b/addons/note/views/note_views.xml
@@ -113,16 +113,14 @@
<span t-attf-class="oe_kanban_content #{record.open.raw_value ? '' : 'note_text_line_through'}">
<!-- title -->
<field name="name"/>
- <div class="oe_kanban_bottom_right">
- <div class="o_kanban_inline_block mr4">
- <field name="activity_ids" widget="kanban_activity" />
- </div>
+ <div class="o_kanban_inline_block float-right mr4">
+ <field name="activity_ids" widget="kanban_activity" />
</div>
</span>
<t t-if="record.message_partner_ids.raw_value.length &gt; 1">
<div class="clearfix"></div>
<t t-foreach="record.message_partner_ids.raw_value" t-as="follower">
- <img t-att-src="kanban_image('res.partner', 'image_128', follower)" class="oe_kanban_avatar o_image_24_cover float-right" t-att-data-member_id="follower" alt="Follower"/>
+ <img t-att-src="kanban_image('res.partner', 'image_128', follower)" class="oe_kanban_avatar o_image_24_cover float-right mt-2" t-att-data-member_id="follower" alt="Follower"/>
</t>
<div class="clearfix"></div>
</t>