[FIX] Remove remaining message_followers widget.
bzr revid: vta@openerp.com-20121121135721-rqjd3x4d2bdu4a7i
This commit is contained in:
parent
9b5a22dea0
commit
946a5e700d
|
@ -94,7 +94,7 @@
|
|||
</group>
|
||||
</sheet>
|
||||
<div class="oe_chatter">
|
||||
<field name="message_follower_ids" widget="mail_followers"/>
|
||||
<field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
|
||||
<field name="message_ids" widget="mail_thread" options='{"thread_level": 1}' placeholder="Send a message to the group..."/>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -824,7 +824,8 @@ class mail_thread(osv.AbstractModel):
|
|||
|
||||
def message_unsubscribe(self, cr, uid, ids, partner_ids, context=None):
|
||||
""" Remove partners from the records followers. """
|
||||
return self.write(cr, uid, ids, {'message_follower_ids': [(3, pid) for pid in partner_ids]}, context=context)
|
||||
self.check_access_rights(cr, uid, 'read')
|
||||
return self.write(cr, SUPERUSER_ID, ids, {'message_follower_ids': [(3, pid) for pid in partner_ids]}, context=context)
|
||||
|
||||
#------------------------------------------------------
|
||||
# Thread state
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
</field>
|
||||
</record>
|
||||
|
||||
<menuitem name="Inbox" id="portal_inbox" parent="portal_messages"
|
||||
<menuitem name="Notifications" id="portal_inbox" parent="portal_messages"
|
||||
action="mail.action_mail_inbox_feeds" sequence="10"/>
|
||||
|
||||
</data>
|
||||
|
|
Loading…
Reference in New Issue