I am trying to list all hooks through frappe.get_hooks(‘doc_events’)
First of all I log into console and use site called “testsite”
bench use testsite
Then I go for:
And get this:
Unfortunately no DocTypes(hooks) from my App which is installed and already configured.
Any tips much appreciated
Thanks for the prompt reply - unfortunately it gives me empty list.
Not sure why it should return anything if non-filtered command (without app_name) is not returning hooks either.
Its working fine for me, can you please check again ?
please restart the
bench console and try again.
I am using ERPNext on the same site along with my App.
In the console when I type
I get all the ERPNext hooks, but when I go for
I only receive info (name, version, author, license etc.) about it. I saw some other topic regarding ERPNext hooks “shadowing” other apps hooks.
Issue is resolved - I have been trying to list hooks which were commented out thus not available.
Please close topic.