summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJigar Patel <jat@openerp.com>2017-02-22 14:49:43 +0530
committerJérome Maes <jem@openerp.com>2017-03-07 16:04:02 +0100
commit8c6b19d605fac423b431b9ba2fdf032ffb640bd7 (patch)
treeecd8ae0540619865e732e90aa8b6e7d41fc9cc2b
parent4a28c103fed7ce93d8a1a66528fa42e83acc44bc (diff)
[IMP] note: Add activity widget on kanban view
-rw-r--r--addons/note/views/note_views.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/note/views/note_views.xml b/addons/note/views/note_views.xml
index cc94f3df83f..aee385698f5 100644
--- a/addons/note/views/note_views.xml
+++ b/addons/note/views/note_views.xml
@@ -88,6 +88,8 @@
<field name="date_done"/>
<field name="message_partner_ids"/>
<field name="tag_ids"/>
+ <field name="activity_ids" />
+ <field name="activity_state" />
<templates>
<t t-name="kanban-box">
@@ -112,6 +114,11 @@
<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 mt16 mr4">
+ <field name="activity_ids" widget="kanban_activity" />
+ </div>
+ </div>
</span>
<t t-if="record.message_partner_ids.raw_value.length &gt; 1">
<div class="clearfix"></div>