public function version($key = null)
    {
        $urlCommon = $this->setApiEndPoint($this->commonEndPoint);

        $version = collect($this->getClient($urlCommon)->version());

        return $this->makeResponse($version, $key);
    }
public function version($key = null)
    {
        $urlCommon = $this->setApiEndPoint($this->commonEndPoint);

        $version = collect($this->getClient($urlCommon)->version());

        return $this->makeResponse($version, $key);
    }
public function version ( $ key = null ) { $ urlCommon = $ this -> setApiEndPoint ( $ this -> commonEndPoint ) ; $ version = collect ( $ this -> getClient ( $ urlCommon ) -> version ( ) ) ; return $ this -> makeResponse ( $ version , $ key ) ; }
Retrieve Odoo version.
If key passed it returns the key value of the collection
No need authentication

@param string $key
@return Collection|string
Retrieve Odoo version . If key passed it returns the key value of the collection No need authentication