mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-21 23:45:16 +00:00
Enable printing for PO and SO
This commit is contained in:
1 parent
7800664f4b
commit
fa95759a00
4 files changed
+127
-5
No files matched your search
@@ -555,8 +555,8 @@ class POReportList(ReportListView, OrderReportMixin):
|
||||
except:
|
||||
continue
|
||||
|
||||
for order in orders:
|
||||
order_query = order.models.PurchaseOrder.objects.filter(pk=order.pk)
|
||||
for o in orders:
|
||||
order_query = order.models.PurchaseOrder.objects.filter(pk=o.pk)
|
||||
|
||||
try:
|
||||
if not order_query.filter(**filters).exists():
|
||||
@@ -638,8 +638,8 @@ class SOReportList(ReportListView, OrderReportMixin):
|
||||
except:
|
||||
continue
|
||||
|
||||
for order in orders:
|
||||
order_query = order.models.SalesOrder.objects.filter(pk=order.pk)
|
||||
for o in orders:
|
||||
order_query = order.models.SalesOrder.objects.filter(pk=o.pk)
|
||||
|
||||
try:
|
||||
if not order_query.filter(**filters).exists():
|
||||
|
||||
Reference in new issue
Block a user