[FIX]: Add help instead of follow_help key
bzr revid: atp@tinyerp.com-20120926175659-7x7r0zpek55jqaeq
This commit is contained in:
parent
feec62da0b
commit
97fdf97be2
|
@ -117,7 +117,7 @@
|
|||
</notebook>
|
||||
<div class="oe_chatter">
|
||||
<field name="message_ids" widget="mail_thread"/>
|
||||
<field name="message_follower_ids" widget="mail_followers" context="{'followers_help': 'The User will automatically follow record created under this Sales team'}"/>
|
||||
<field name="message_follower_ids" widget="mail_followers" help="The User will automatically follow record created under this Sales team"/>
|
||||
</div>
|
||||
</form>
|
||||
</field>
|
||||
|
|
|
@ -28,6 +28,7 @@ openerp_mail_followers = function(session, mail) {
|
|||
this.options.image = this.node.attrs.image || 'image_small';
|
||||
this.options.title = this.node.attrs.title || 'Followers';
|
||||
this.options.context = this.node.attrs.context;
|
||||
this.options.comment = this.node.attrs.help || false;
|
||||
this.ds_model = new session.web.DataSetSearch(this, this.view.model);
|
||||
this.ds_follow = new session.web.DataSetSearch(this, this.field.relation);
|
||||
},
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
<button type="button" class="oe_mail_button_unfollow oe_mail_button_mouseout">Following</button>
|
||||
</div>
|
||||
<div class="oe_grey">
|
||||
<t t-if='widget.options.context'>
|
||||
<h5><t t-raw="widget.options.context['followers_help']"/></h5>
|
||||
<t t-if="widget.options.comment">
|
||||
<h5><t t-raw="widget.options.comment"/></h5>
|
||||
</t>
|
||||
</div>
|
||||
<div class="oe_mail_recthread_followers">
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
</sheet>
|
||||
<div class="oe_chatter">
|
||||
<field name="message_ids" widget="mail_thread"/>
|
||||
<field name="message_follower_ids" widget="mail_followers" context="{'followers_help': 'The User will automatically follow record created under this project'}"/>
|
||||
<field name="message_follower_ids" widget="mail_followers" help ="The User will automatically follow record created under this project"/>
|
||||
</div>
|
||||
</form>
|
||||
</field>
|
||||
|
|
Loading…
Reference in New Issue