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
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
how to use and in search?
Diselesaikan
|
2
Des 22
|
17078 | ||
|
1
Sep 22
|
2863 | |||
|
1
Apr 20
|
142 | |||
|
Advanced search() options like with where in sql.
Diselesaikan
|
1
Jun 19
|
4918 | ||
|
1
Nov 18
|
3520 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.