Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3431 Prikazi

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

Avatar
Opusti
Avtor Best Answer

Hi Mohammed,

I've tried this. But it also gives no results.

<filter string="Task without follower(s)" domain="[('message_follower_ids', '=', False)]"/>

Avatar
Opusti
Best Answer

Hi,

Don't use false as a string.

try this ('message_follower_ids', '=', False)

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
avg. 24
7723
1
sep. 23
2399
7
jun. 20
6810
7
jul. 18
20862
0
nov. 22
80