@classmethod
def get_name(cls, name):
    """
        Return the calendar id of the name
        """
    calendar_id = cls._get_name_cache.get(name, default=-1)
    if calendar_id == -1:
        calendars = cls.search([('name', '=', name)], limit=1)
        if calendars:
            calendar_id = calendars[0].id
        else:
            calendar_id = None
        cls._get_name_cache.set(name, calendar_id)
    return calendar_id
