Tree view: Difference between revisions

Jump to navigation Jump to search
Line 46: Line 46:
When you add an associated list to a form, for example, a list of orders to a contact form, you will automatically see orders related to the contact. This kind of implicit filtering is not available for trees. However, you can set up the filter manually. In this example, we're using orders and contacts.
When you add an associated list to a form, for example, a list of orders to a contact form, you will automatically see orders related to the contact. This kind of implicit filtering is not available for trees. However, you can set up the filter manually. In this example, we're using orders and contacts.


# Create a new view (type: associated list) for the order entity (maybe clone the default view). Add a filter with a link to the contact.
# Create a new view (type: "associated list") for the order entity (maybe clone the default view). Add a filter with a link to the contact.
# Create a tree view for orders and order products that uses the new view for orders.
# Create a tree view for orders and order products that uses the new view for orders.
# Add the tree to your contact form.
# Add the tree to your contact form.

Navigation menu