mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-06 23:38:48 +00:00
style fixes
This commit is contained in:
parent
e44159baea
commit
9a62fe6993
@ -475,7 +475,7 @@ class PartScheduling(generics.RetrieveAPIView):
|
|||||||
part__part=part,
|
part__part=part,
|
||||||
order__status__in=PurchaseOrderStatus.OPEN,
|
order__status__in=PurchaseOrderStatus.OPEN,
|
||||||
)
|
)
|
||||||
|
|
||||||
for line in po_lines:
|
for line in po_lines:
|
||||||
|
|
||||||
target_date = line.target_date or line.order.target_date
|
target_date = line.target_date or line.order.target_date
|
||||||
@ -489,7 +489,7 @@ class PartScheduling(generics.RetrieveAPIView):
|
|||||||
str(line.order),
|
str(line.order),
|
||||||
line.order.get_absolute_url()
|
line.order.get_absolute_url()
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add sales order (outgoing stock) information
|
# Add sales order (outgoing stock) information
|
||||||
so_lines = order.models.SalesOrderLineItem.objects.filter(
|
so_lines = order.models.SalesOrderLineItem.objects.filter(
|
||||||
part=part,
|
part=part,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user