public function search($model)
    {
        $method = 'search';

        $condition = $this->condition ?: [[]];

        $params = $this->buildParams('limit', 'offset');

        $result = $this->call($model, $method, $condition, $params);

        //Reset params for future queries.
        $this->resetParams('limit', 'offset', 'condition');

        return $this->makeResponse($result);
    }
public function search($model)
    {
        $method = 'search';

        $condition = $this->condition ?: [[]];

        $params = $this->buildParams('limit', 'offset');

        $result = $this->call($model, $method, $condition, $params);

        //Reset params for future queries.
        $this->resetParams('limit', 'offset', 'condition');

        return $this->makeResponse($result);
    }
public function search ( $ model ) { $ method = 'search' ; $ condition = $ this -> condition ? : [ [ ] ] ; $ params = $ this -> buildParams ( 'limit' , 'offset' ) ; $ result = $ this -> call ( $ model , $ method , $ condition , $ params ) ; //Reset params for future queries. $ this -> resetParams ( 'limit' , 'offset' , 'condition' ) ; return $ this -> makeResponse ( $ result ) ; }
Get the ids of the models.

@param string $model
@return Collection
@throws OdooException
Get the ids of the models .