From 778d804670ad67bc8458b342b6bc41ce25eb4de6 Mon Sep 17 00:00:00 2001 From: 7nimor <7nimor@gmail.com> Date: Mon, 9 Feb 2026 16:28:32 +0330 Subject: [PATCH] update excel --- panel/poultry/excel_processing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panel/poultry/excel_processing.py b/panel/poultry/excel_processing.py index 4b59039..69a54bc 100644 --- a/panel/poultry/excel_processing.py +++ b/panel/poultry/excel_processing.py @@ -437,7 +437,7 @@ def management_poultry(request): def hatching_excel(request): filterset_class = PoultryHatchingFilterSet - unknown = True if 'unknown' in request.GET else False + unknown = True if 'unknown' in request.GET else False if 'all_active_and_archive' in request.GET: poultry_hatch = PoultryHatching.objects.filter( trash=False).select_related('poultry', @@ -451,7 +451,7 @@ def hatching_excel(request): else: poultry_hatch = PoultryHatching.objects.filter(archive=False, allow_hatching='pending', - trash=False).select_related('poultry', + trash=False,unknown=False).select_related('poultry', 'poultry__user').order_by( '-chicken_age')