'Open meeting\'s calendar view to schedule meeting on current opportunity.
:return dict: dictionary value for created Meeting view'

@api.multi
def action_schedule_meeting(self):

    self.ensure_one()
    action = self.env.ref('calendar.action_calendar_event').read()[0]
    partner_ids = self.env.user.partner_id.ids
    if self.partner_id:
        partner_ids.append(self.partner_id.id)
    action['context'] = {'search_default_opportunity_id': (self.id if (self.type == 'opportunity') else False), 'default_opportunity_id': (self.id if (self.type == 'opportunity') else False), 'default_partner_id': self.partner_id.id, 'default_partner_ids': partner_ids, 'default_team_id': self.team_id.id, 'default_name': self.name}
    return action
