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
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
how to use and in search?
แก้ไขแล้ว
|
2
ธ.ค. 22
|
17116 | ||
|
1
ก.ย. 22
|
2895 | |||
|
1
เม.ย. 20
|
142 | |||
|
1
มิ.ย. 19
|
4943 | |||
|
1
พ.ย. 18
|
3568 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.