'Instead of the classic form view, redirect to website for portal users
that can read the issue.'

@api.multi
def get_access_action(self):

    self.ensure_one()
    if self.env.user.share:
        try:
            self.check_access_rule('read')
        except exceptions.AccessError:
            pass
        else:
            return {'type': 'ir.actions.act_url', 'url': ('/my/issues/%s' % self.id), 'target': 'self', 'res_id': self.id}
    return super(Issue, self).get_access_action()
