How can I filter a Many2Many field for containing zero items.
Example: I'm trying to filter tasks that have 0 followers (message_follower_ids).
[['message_follower_ids','=','False']] Returns no results, but there should be many.
Frank
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How can I filter a Many2Many field for containing zero items.
Example: I'm trying to filter tasks that have 0 followers (message_follower_ids).
[['message_follower_ids','=','False']] Returns no results, but there should be many.
Frank
Hi Mohammed,
I've tried this. But it also gives no results.
<filter string="Task without follower(s)" domain="[('message_follower_ids', '=', False)]"/>
Hi,
Don't use false as a string.
try this ('message_follower_ids', '=', False)
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
1
अग॰ 24
|
8629 | |||
|
1
सित॰ 23
|
3009 | |||
|
7
जून 20
|
7649 | |||
|
7
जुल॰ 18
|
21910 | |||
|
0
नव॰ 22
|
80 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.