\documentclass[a4paper]{report}
\usepackage{subfiles}

\begin{document}
\tableofcontents

\subfile{parts/chapter.tex}

\end{document}
