summaryrefslogtreecommitdiff
path: root/addons/note/note_view.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/note/note_view.xml')
-rw-r--r--addons/note/note_view.xml32
1 files changed, 19 insertions, 13 deletions
diff --git a/addons/note/note_view.xml b/addons/note/note_view.xml
index 8d943dde44d..4ed2fade43f 100644
--- a/addons/note/note_view.xml
+++ b/addons/note/note_view.xml
@@ -50,6 +50,7 @@
<field name="memo"/>
<field name="date_done"/>
<field name="current_partner_id"/>
+ <field name="message_is_follower"/>
<field name="message_follower_ids"/>
<field name="tag_ids"/>
<templates>
@@ -108,19 +109,24 @@
<!-- New note Form View -->
<record model="ir.ui.view" id="view_note_note_form">
- <field name="name">note.note.form</field>
- <field name="model">note.note</field>
- <field name="arch" type="xml">
- <form string="Note" version="7.0">
- <header>
- <field name="tag_ids" widget="many2many_tags" class="oe_inline" placeholder="Tags"/>
- <field name="stage_id" domain="[('user_id','=',uid)]" widget="statusbar" clickable="1"/>
- </header>
- <field name="memo" widget="html"/><!-- editor_width="100%%" editor_height="60%%" -->
- <field name="message_follower_ids" widget="mail_followers"/>
- <field class="oe_chatter" name="message_ids" widget="mail_thread"/>
- </form>
- </field>
+ <field name="name">note.note.form</field>
+ <field name="model">note.note</field>
+ <field name="arch" type="xml">
+ <form string="Note" version="7.0">
+ <header>
+ <field name="tag_ids" widget="many2many_tags" class="oe_inline" placeholder="Tags"/>
+ <field name="stage_id" domain="[('user_id','=',uid)]" widget="statusbar" clickable="1"/>
+ </header>
+ <field name="memo" widget="html"/><!-- editor_width="100%%" editor_height="60%%" -->
+ <div class="oe_chatter">
+ <!-- Invisible fields used in chatter widgets -->
+ <field name="message_subtype_data" invisible="True"/>
+ <field name="message_is_follower" invisible="True"/>
+ <field name="message_follower_ids" widget="mail_followers"/>
+ <field class="oe_chatter" name="message_ids" widget="mail_thread"/>
+ </div>
+ </form>
+ </field>
</record>
<!-- Search note -->