I am developing a custom app on frappe. There is a doctype named ‘Person’ which has a field gender. There is another doctype named ‘Allotment’ which has a link field for Person.
I want to set default filter in list view of ‘Allotment’ based on logged in user’s gender. ‘User’ DocType already has a field ‘Gender’
All the forum posts I saw, have means of setting filters based on fields in DocType of ListView, but not based on fields in a Linked DocType.
Any clues whether and how this can be achieved?