Please help me with this
In Project module of ERPNEXT, when we click on it and Dashboard is loaded then this end point gets called http://172.16.21.150:5000/app/Project.
On checking request being sent to fetch count of open projects under the logined user this gets called http://172.16.21.150:5000/api/method/frappe.desk.reportview.get_count but payload is doctype: Project filters: [[“Project”,“status”,“=”,“p”,false]] fields: [] distinct: false
I want to change the payload like this doctype: Task filters: {“_assign”:[“like”,“%mail@abhinaba.com%”],“status”:“Open”} fields: [] distinct: false
- I am unable to find how does this payload is being given to this request?
- Secondly, Which file of ERPNEXt handles endpoints like apps/home, /apps/projects ,/apps/hr etc