Hi ,
For docs that are trees, is there any way to set the tree view as default instead of list ?
Cheers
Hi ,
For docs that are trees, is there any way to set the tree view as default instead of list ?
Cheers
Hi,
Were you able to achieve it.
I don’t know, I’ve never had to do that, you can look in frappe/boot.py “treeviews” is loaded there, but I can’t find anything about report.
Thanks @PHF, will give this a try. Was hoping it could be achieved from the client side though… via client or server scripts
Kind regards,
ERPNext itself has this in hooks.py and none of them show up as Tree View by default.
treeviews = [
"Account",
"Cost Center",
"Warehouse",
"Item Group",
"Customer Group",
"Supplier Group",
"Sales Person",
"Territory",
"Department",
]