'Return a list of tuple (id, name, status)
Used by web_calendar.js : Many2ManyAttendee'

@api.multi
def get_attendee_detail(self, meeting_id):

    datas = []
    meeting = None
    if meeting_id:
        meeting = self.env['calendar.event'].browse(get_real_ids(meeting_id))
    for partner in self:
        data = partner.name_get()[0]
        data = [data[0], data[1], False, partner.color]
        if meeting:
            for attendee in meeting.attendee_ids:
                if (attendee.partner_id.id == partner.id):
                    data[2] = attendee.state
        datas.append(data)
    return datas
