Does every module over a commutative local ring direct sum of all its indecomposable submodules?

175 Views Asked by At

Let $R$ be a commutative local ring and $M$ be an $R$-module. To determine the structure of $M$, does it suffice to determine the structure of all indecomposable summands of $M$ and then say that $M$ is a direct sum of this submodules?
Thank you.