From 169745c11f022120d35b6704bb2403bccca9dd2f Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 11 May 2021 16:23:26 +0200 Subject: [PATCH] style fix --- InvenTree/part/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/part/views.py b/InvenTree/part/views.py index 1fdc5b60e3..a2986fe869 100644 --- a/InvenTree/part/views.py +++ b/InvenTree/part/views.py @@ -2043,7 +2043,7 @@ class PartPricing(AjaxView): # Stock history if part_settings.part_show_graph and part.total_stock > 1: ret = [] - stock = part.stock_entries(include_variants=False, in_stock=True) #.order_by('purchase_order__date') + stock = part.stock_entries(include_variants=False, in_stock=True) # .order_by('purchase_order__date') stock = stock.prefetch_related('purchase_order', 'supplier_part') for stock_item in stock: