From 5949ccd74f38ea5909c61fa0794cb10b19667fd1 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 11 Mar 2021 17:11:57 +1100 Subject: [PATCH] Bug fix --- InvenTree/report/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/report/api.py b/InvenTree/report/api.py index 16c512ed6c..212c57bd7f 100644 --- a/InvenTree/report/api.py +++ b/InvenTree/report/api.py @@ -141,9 +141,9 @@ class OrderReportMixin: valid_ids = [] - for order in orders: + for o in orders: try: - valid_ids.append(int(order)) + valid_ids.append(int(o)) except (ValueError): pass