The fields `owner_user_id` used `maintenance` search view to filter on assigned equipment is overwritten in `hr_maintenance` to be computed based on employee or department manager linked user. However employee may not have linked user, considering equipment unassigned. Use directly the presence of employee or department to determine if an equipment is assigned or not.