[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
This commit is contained in:
Thibault Delavallée
2012-09-20 13:59:00 +02:00
parent 2a33b4cb26
commit 1206b8f7a0
30 changed files with 133 additions and 14 deletions
+19 -13
View File
@@ -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 -->