From ff897ccc413f4aacd4420a53b2246af44346ac82 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 21 Jan 2022 00:30:51 +0100 Subject: [PATCH] remove dead code --- InvenTree/common/files.py | 2 -- InvenTree/order/forms.py | 1 - InvenTree/part/forms.py | 1 - 3 files changed, 4 deletions(-) diff --git a/InvenTree/common/files.py b/InvenTree/common/files.py index 39c97dca6c..e58b977f2c 100644 --- a/InvenTree/common/files.py +++ b/InvenTree/common/files.py @@ -9,8 +9,6 @@ import os from django.utils.translation import gettext_lazy as _ from django.core.exceptions import ValidationError -# from company.models import ManufacturerPart, SupplierPart - class FileManager: """ Class for managing an uploaded file """ diff --git a/InvenTree/order/forms.py b/InvenTree/order/forms.py index 3eb5566a1e..33044d8440 100644 --- a/InvenTree/order/forms.py +++ b/InvenTree/order/forms.py @@ -92,5 +92,4 @@ class OrderMatchItemForm(MatchItemForm): default_amount=clean_decimal(row.get('purchase_price', '')), ) - # return default return super().get_special_field(col_guess, row, file_manager) diff --git a/InvenTree/part/forms.py b/InvenTree/part/forms.py index c4c7d29228..8925c6d9bd 100644 --- a/InvenTree/part/forms.py +++ b/InvenTree/part/forms.py @@ -75,7 +75,6 @@ class BomMatchItemForm(MatchItemForm): }) ) - # return default return super().get_special_field(col_guess, row, file_manager)