I’m customizing ERPNext for a textile industry. In Item list view I have a default filter that shows only products that belongs to “Products” group. “Products” has a child group called “Shirts”, but when I filter by “Products” group, items which belongs to “Shirts” are not showed.
How can I customize the filter so that when I filter “Products” group the list shows all items that belongs to “Products” and also all that belongs to its child groups? Where is the query that list view uses to retrieve items?