User
Manager
account.analytic.line.timesheet.user
[('user_id', '=', user.id), ('project_id', '!=', False)]
account.analytic.line.timesheet.manager
[('project_id', '!=', False)]
Project/Task Timesheets: frontend access
[
'|',
'&',
('task_id.project_id.privacy_visibility', '=', 'portal'),
('task_id.project_id.message_partner_ids', 'child_of', [user.partner_id.commercial_partner_id.id]),
'&',
('task_id.project_id.privacy_visibility', '=', 'portal'),
('task_id.message_partner_ids', 'child_of', [user.partner_id.commercial_partner_id.id]),
]