Officer Manager Employee Leaves [('employee_id.user_id','=',user.id)] Employee Leaves Create, Write, Unlink [('employee_id.user_id','=',user.id), ('state', 'in', ['draft', 'confirm', 'cancel', 'refuse'])] Leaves Officer [(1,'=',1)] Leaves Resources Officer [(1,'=',1)] Leaves multi company rule ['|',('company_id','=',False),('company_id','in',[user.company_id.id])]