$\newcommand\la\lambda$If $X_1,X_2,\dots$ are iid random variables (r.v.'s) each with the exponential distribution $E(\la)$ with parameter $\la$, then $\sum_1^n X_i\sim E(k,\la)$.
In turn, if $U_1,U_2,\dots$ are iid r.v.'s each with the uniform distribution over the interval $(0,1)$, then the r.v.'s $X_i:=-\dfrac1\la\,\ln U_i$ will be iid, each with the exponential distribution $E(\la)$. So, $$-\frac1\la\, \ln \prod_{i=1}^k U_i =\sum_{i=1}^k\Big(-\frac1\la\, \ln U_i\Big) =\sum_{i=1}^k X_i \sim E(k, \lambda),$$$$-\frac1\la\, \ln \prod_{i=1}^k U_i =\sum_{i=1}^k\Big(-\frac1\la\, \ln U_i\Big) =\sum_{i=1}^k X_i \sim E(k,\la),$$ as desired.
As for your modification of the Erlang distribution, it is quite unclear how you define it. In particular, what are $p$, $v$, and $\nu$? What is the set of possible values of $k$? Is the resulting function $f$ a density function? Is there a reference to such a modification of the Erlang distribution?
Details on why $\sum_{i=1}^k X_i\sim E(k,\la)$ if $X_1,X_2,\dots$ are iid random variables (r.v.'s) each with the exponential distribution $E(\la)$ with rate parameter $\la$: This follows immediately from the following facts:
$E(k,\la)=\text{Gamma}(k,\la)$, where $\text{Gamma}(k,\la)$ is the gamma distribution with shape parameter $k$ and rate parameter $\la$. In particular, the exponential distribution $E(\la)$ is the same as $\text{Gamma}(1,\la)$.
If r.v.'s $X\sim\text{Gamma}(a,\la)$ and $Y\sim\text{Gamma}(b,\la)$ are independent, then$X+Y\sim\text{Gamma}(a+b,\la)$; here $a$ and $b$ are any positive real numbers. This fact can be found in any textbook on mathematical statistics, and it can be quickly proved e.g. using the moment generating function for the gamma distribution.