A finite adelic lattice admits a matrix basis
Let $E/F$ be an extension of number fields, $n\ge0$, and $L\subseteq E^n$ a finitely generated $\mathcal O_E$-module spanning $E^n$. Set $R=\mathbb A_{F,f}\otimes_F E$. Define $\widehat L\subseteq R^n$ to be the closed additive subgroup generated by the vectors $(a\otimes x_i)_i$ with $a\in\widehat{\mathcal O}_F$ and $x\in L$. Define $\widehat{\mathcal O}_E\subseteq R$ similarly from $\mathcal O_E$. There are $P,Q\in M_n(R)$ with $PQ=QP=1$ such that $$z\in\widehat L\quad\Longleftrightarrow\quad(Qz)_i\in\widehat{\mathcal O}_E\quad\text{for every }i.$$
The closures use the topology on the finite adele tensor product.