Odoo Help

Welcome!

This community 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.

0

How to filter nested folders per resource by domain?

By
René Schuster
on 7/9/14, 8:50 AM 602 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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