Hi all,
We’re implementing ERPNext internally, to be able to track the projects we’re working on. We’ve started a proof of concept using the ERPNext v12 production ova file, ran in VirtualBox.
In the Task list view within the Projects module we need, for any user accessing this page, to automatically show the active tasks for the logged user (be automatically filtered by the logged user and status not being ‘Completed’ or ‘Cancelled’), sorted by ‘Expected End Date’ ascending.
I’ve looked on the forum for possible solutions and I’ve tried:
- Editing the task_list.js file in the projects/doctype/task folder, and
- Creating a new task_list.js file in the public folder; the task_list.js file contains a simple filter for the task status, see below:
The problem I have is that the task_list.js file doesn’t have any effect. Also, I cannot find the task_list.js while looking at the sources with the developer tools in the browser.
Therefore, I have the following questions:
- Is this solution, with setting filters in the task_list.js, the correct one?
- If yes, am I missing something? Should I recompile the app, or something like this?
- Is there any other, and better, solution for what we need (bolded above)?
Any help is much appreciated!
Regards,
Bogdan