Moduli spaces, indecomposable objects and potentials over a finite field