[IMP]resolve error
bzr revid: sgo@tinyerp.com-20120907114216-5qbzq1y80ut9d6mx
This commit is contained in:
@@ -47,6 +47,15 @@
|
||||
<field name="res_model">mail.message.subtype</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="oe_view_nocontent_create">
|
||||
Click to create a message subtype.
|
||||
</p><p>
|
||||
OpenERP's message subtype allows to ease and fasten the
|
||||
subtype which helps to decrease over crowdy wall comments which displays
|
||||
only those.
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<menuitem name="Subtypes" id="menu_message_subtype" parent="base.menu_email"
|
||||
|
||||
@@ -117,7 +117,8 @@ openerp_mail_followers = function(session, mail) {
|
||||
follower_read.then(function (follower_record){
|
||||
if(follower_record.length != 0){
|
||||
_(follower_record[0].subtype_ids).each(function (subtype_id){
|
||||
self.$el.find('.oe_msg_subtype_check[id=' + subtype_id + ']')[0].checked=true
|
||||
if(self.$el.find('.oe_msg_subtype_check[id=' + subtype_id + ']')[0]){
|
||||
self.$el.find('.oe_msg_subtype_check[id=' + subtype_id + ']')[0].checked=true}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user