Initially I posted this on ERPNext but understanding that the context is Frappe, I have posted it here as it is more appropriate.
Having funny problem and can’t get what’s going wrong.
Added doctype and can’t see the link under Document section although DOCUMENT section is selected.
Changed it to Child Table and still can’t see the link to that DocType.
Changed it out of Child Table and still can’t see the link to that DocType.
How does frappe render the app listing? Other icon’s are showing but newly created are not showing.
Digging further figured out that moduleview.py is being called to run get_doctype_info and get list of available doctypes to display.
istable: 0 is filtered so if it is a child table then it is filtered out. The question then is is this information cleared only upon bench restart
Further details indicate that once you tick Is Child Table (istable: 1) then it disappears from module view. Thereafter you tick istable off, it still remains hidden. Still trying to figure out where is it recording this istable value and not forgetting it?