This question has been flagged

In the document management system, I have a parent directory with folder per resource option (for example a Projects folder for all my projects).

I also have a directory with per resource option for all my tasks.

What I want: The Projects directory should be the parent folder for my Tasks directory (which could be easily achieved by using the obvious parent folder field) AND each project folder should only contain those tasks that belong to the selected project.

I thought of using the domain field of the Tasks directory, but I don't know how to get the id of the parent folder resource...

[('project_id', '=', <what comes here?>)]

 

Help is appreciated.

Thanks.

Avatar
Discard