parameters: (self, leads, user_ids, team_id=False)
return_statement: return super(Lead2OpportunityMassConvert, self)._convert_and_allocate(leads, salesmen_ids, team_id=team_id)
docstring: When "massively" (more than one at a time) converting leads to
          opportunities, check the salesteam_id and salesmen_ids and update
          the values before calling super.
docstring_summary: When "massively" (more than one at a time) converting leads to
          opportunities, check the salesteam_id and salesmen_ids and update
          the values before calling super.
docstring_tokens: When massively ( more than one at a time ) converting leads to opportunities check the salesteam_id and salesmen_ids and update the values before calling super .
function: def _convert_and_allocate(self, leads, user_ids, team_id=False):
          """ When "massively" (more than one at a time) converting leads to
          opportunities, check the salesteam_id and salesmen_ids and update
          the values before calling super.
          """
          self.ensure_one()
          salesmen_ids = []
          if self.user_ids:
              salesmen_ids = self.user_ids.ids
          return super(Lead2OpportunityMassConvert, self)._convert_and_allocate(leads, salesmen_ids, team_id=team_id)
function_tokens: def _convert_and_allocate ( self , leads , user_ids , team_id = False ) : self . ensure_one ( ) salesmen_ids = [ ] if self . user_ids : salesmen_ids = self . user_ids . ids return super ( Lead2OpportunityMassConvert , self ) . _convert_and_allocate ( leads , salesmen_ids , team_id = team_id )