(self, name='', args=None, operator='ilike', limit=100, name_get_uid=None)
return self._search(args, limit=limit, access_rights_uid=name_get_uid)
_name_search(name='', args=None, operator='ilike', limit=100, name_get_uid=None) -> ids

        Private implementation of name_search, allows passing a dedicated user
        for the name_get part to solve some access rights issues.
_name_search(name='', args=None, operator='ilike', limit=100, name_get_uid=None) -> ids
_name_search ( name = args = None operator = ilike limit = 100 name_get_uid = None ) - > ids
def _name_search(self, name='', args=None, operator='ilike', limit=100, name_get_uid=None):
        """ _name_search(name='', args=None, operator='ilike', limit=100, name_get_uid=None) -> ids

        Private implementation of name_search, allows passing a dedicated user
        for the name_get part to solve some access rights issues.
        """
        args = list(args or [])
        # optimize out the default criterion of ``ilike ''`` that matches everything
        if not self._rec_name:
            _logger.warning("Cannot execute name_search, no _rec_name defined on %s", self._name)
        elif not (name == '' and operator == 'ilike'):
            args += [(self._rec_name, operator, name)]
        return self._search(args, limit=limit, access_rights_uid=name_get_uid)
def _name_search ( self , name = '' , args = None , operator = 'ilike' , limit = 100 , name_get_uid = None ) : args = list ( args or [ ] ) # optimize out the default criterion of ``ilike ''`` that matches everything if not self . _rec_name : _logger . warning ( "Cannot execute name_search, no _rec_name defined on %s" , self . _name ) elif not ( name == '' and operator == 'ilike' ) : args += [ ( self . _rec_name , operator , name ) ] return self . _search ( args , limit = limit , access_rights_uid = name_get_uid )