From 9a62fe69931854c131a96f2678a9da497d8676b9 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 1 Mar 2022 23:31:18 +1100 Subject: [PATCH] style fixes --- InvenTree/part/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/part/api.py b/InvenTree/part/api.py index d124129b47..87728660b0 100644 --- a/InvenTree/part/api.py +++ b/InvenTree/part/api.py @@ -475,7 +475,7 @@ class PartScheduling(generics.RetrieveAPIView): part__part=part, order__status__in=PurchaseOrderStatus.OPEN, ) - + for line in po_lines: target_date = line.target_date or line.order.target_date @@ -489,7 +489,7 @@ class PartScheduling(generics.RetrieveAPIView): str(line.order), line.order.get_absolute_url() ) - + # Add sales order (outgoing stock) information so_lines = order.models.SalesOrderLineItem.objects.filter( part=part,