I'm trying to duplicate the functionality of is_follower for filtering tasks. I want to show all tasks that are assigned to a user that is a manager (or a manager of the manager - any parent) of the current user as assigned in hr.employee with parent_id.
_inherit = 'project.task'
is_crewmember = fields.Boolean('Is Crewmember', compute='_compute_is_crewmember', search='_search_is_crewmember')
I am at a loss with the two definitions _compute_is_crewmember and _search_is_crewmember...