public function call($params)
    {
        //Prevent user forgetting connect with the ERP.
        $this->autoConnect();

        $args = array_merge(
            [$this->db, $this->uid, $this->password],
            func_get_args()
        );

        return collect(call_user_func_array([$this->object,'execute_kw'], $args));
    }
public function call($params)
    {
        //Prevent user forgetting connect with the ERP.
        $this->autoConnect();

        $args = array_merge(
            [$this->db, $this->uid, $this->password],
            func_get_args()
        );

        return collect(call_user_func_array([$this->object,'execute_kw'], $args));
    }
public function call ( $ params ) { //Prevent user forgetting connect with the ERP. $ this -> autoConnect ( ) ; $ args = array_merge ( [ $ this -> db , $ this -> uid , $ this -> password ] , func_get_args ( ) ) ; return collect ( call_user_func_array ( [ $ this -> object , 'execute_kw' ] , $ args ) ) ; }
Run execute_kw call with provided params.

@param $params
@return Collection
Run execute_kw call with provided params .