Tree customization in erpnext

We need to create a tree on production order page according to BOM Selection. How we can implement existing tree functionality?
Suppose When we select BOM then tree structure will display.

1 Like