(self, leads, user_ids, team_id=False)
return super(Lead2OpportunityMassConvert, self)._convert_and_allocate(leads, salesmen_ids, team_id=team_id)
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.
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.
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 .
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)
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 )