Bringing this one back to life!
We have been working on creating a tree view for the Animal Group DocType in agriculture module as per @tmatteson’s suggestions.
So far we are able to create the tree view just fine.
Each animal group has two child tables.
One child table contains the “serialized” animals and their weights and weight uom’s.
The second one “unserialized” contains one row with a quantity, weight and weight uom’s as well.
What we want to do is load the individual child table rows for both serialized and unserialized animals as nodes under the Animal Group DocType, perhaps with a for loop or similar.
Any other ideas to accomplish this (aside from Revant’s excellent reference)?