(self)
Accept the incoming email.

        Will send the incoming email to all members of the group.
Accept the incoming email.
Accept the incoming email .
def action_moderate_accept(self):
        """Accept the incoming email.

        Will send the incoming email to all members of the group.
        """
        self._assert_moderable()
        self.write({
            'moderation_status': 'accepted',
            'moderator_id': self.env.uid,
        })

        # Send the email to the members of the group
        for message in self:
            message.mail_group_id._notify_members(message)
def action_moderate_accept ( self ) : self . _assert_moderable ( ) self . write ( { 'moderation_status' : 'accepted' , 'moderator_id' : self . env . uid , } ) # Send the email to the members of the group for message in self : message . mail_group_id . _notify_members ( message )