summaryrefslogtreecommitdiff
path: root/addons/note
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-09-20 13:59:00 +0200
committerThibault Delavallée <tde@openerp.com>2012-09-20 13:59:00 +0200
commit1206b8f7a0c8d2de9cd7ae05eefbd1c84433896f (patch)
treef4705e094c08c3001ac700ce3a2432caa15e0ff7 /addons/note
parent2a33b4cb266e1c087998e9b47bb60431cce5ece7 (diff)
[IMP] Addons: added message_is_follower and message_subtype_data invisible fields to all views using Chatter and Followers widgets.
bzr revid: tde@openerp.com-20120920115900-vvpfhjvw135vhf91
Diffstat (limited to 'addons/note')
-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 -->