I am using Odoo 13, Would like to restrict users that have been assigned e.g. for my case project in settings to only see the data for the project assigned to them in a custom app
For Example in setting a user is assigned two projects in a Many2many field
The Project is a separate custom app
On a particular Tree view of another app, the user should see only the project assigned to them in settings app
The record rules I am trying to do doesn't reflect projects in settings. Its referencing the user _id field in the Project Custom App
Fleet Vehicle User
[('project.user_id','=',user.id)]
I'm new to odoo dev.