Yes, the tree is the right way to implement a document hierarchy in Frappe, but if you simply want to store a distinct structured dataset inside child table entries, refer to the workaround here: Is there anyway I can add child table inside a child table?
2 Likes