Odoo Help

0

How to filter nested folders per resource by domain?

By
René Schuster
on 7/9/14, 8:50 AM 722 views

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 7/9/14, 8:50 AM
Seen: 722 times
Last updated: 3/16/15, 8:10 AM