Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
3505 Visninger

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
Kassér
Forfatter Bedste svar

Hi Mohammed,

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

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

Avatar
Kassér
Bedste svar

Hi,

Don't use false as a string.

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

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
aug. 24
7815
1
sep. 23
2479
7
jun. 20
6913
7
jul. 18
20970
0
nov. 22
80