users = env["res.users"].search([("restaurant_role", "!=", False)])
for u in users:
    print(f"DEBUG: User={u.name}, Role={u.restaurant_role}")
    print(f"DEBUG: Groups={[g.full_name for g in u.groups_id if 'User types' in g.full_name or 'Restaurant' in g.full_name]}")
