I need to find for example all projects that have tasks.
task_ids = fields.One2Many('project.task', 'project_id')
Like: search([('task_ids', '>', 0)])?
Is there a way to do that or do I have to get tasks and then loop trough them to get project ids?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I need to find for example all projects that have tasks.
task_ids = fields.One2Many('project.task', 'project_id')
Like: search([('task_ids', '>', 0)])?
Is there a way to do that or do I have to get tasks and then loop trough them to get project ids?
task_ids","!=",False
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
how to use and in search?
Vyřešeno
|
2
pro 22
|
17070 | ||
|
1
zář 22
|
2857 | |||
|
1
dub 20
|
142 | |||
|
1
čvn 19
|
4909 | |||
|
1
lis 18
|
3512 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.