I am new to Odoo and domain filters and everything else. So bear with me if I am missing something obvious.
I have a request model that contains a list of valid team_ids. The currently logged in user has a single team_id assigned to them. I want to create a record rule for the requests which will check if a request has a list of team_ids that contains the team_id of the currently logged in user. I would write the domain filter like this:-
[('team_ids', 'includes',user.team_id)]
but I am aware that the there is no such operator as 'includes'.
What operator do I use here to get this to work. I hope my question is clear.