I just noticed that if you add a field named disabled
within a doctype, frappe will display a nice Enabled/Disabled status field in list view and form page.
Nice!
Now I would like the framework to automatically filter out records with disabled=1 from all Link
docfields.
Is there any way to configure this globally ?
Or am I stuck having to use frm.set_query() everywhere the doctype is used in a Link
docfield ?