I want only those doctypes which are under module custom and some under HR module erpnext how to do it with api
Python:
frappe.get_all("DocType", filters={
"module": ("in", ["HR", "Custom"])
})
HTTP request path:
/api/v2/document/DocType?filters={"module":["in",["HR", "Custom"]]}