This question has been flagged
2262 Views

Hello

I am trying to set up a record rule for a certain group, this record rule is on the model res.partner and should show his own contacts and the contacts on which the current user is a follower

I have tried the following domain to add the follower

[('message_follower_ids', 'in', [user.partner_id.id])]

I've also tried removing the partner_id from the above domain, but with no success. I am pretty sure this domain should show the partners where the current user has been made follower. But it doesn't, hence my question here.


Thanks in advance

Avatar
Discard