From 185924e1f847d0444a3ebadb42f65e2fd68654c8 Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 5 Nov 2021 00:35:47 +1100 Subject: [PATCH] More linting --- InvenTree/stock/test_views.py | 2 -- InvenTree/templates/js/translated/stock.js | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/InvenTree/stock/test_views.py b/InvenTree/stock/test_views.py index d3019ee541..36042b9bc2 100644 --- a/InvenTree/stock/test_views.py +++ b/InvenTree/stock/test_views.py @@ -7,8 +7,6 @@ from django.contrib.auth.models import Group from common.models import InvenTreeSetting -from datetime import datetime, timedelta - class StockViewTestCase(TestCase): diff --git a/InvenTree/templates/js/translated/stock.js b/InvenTree/templates/js/translated/stock.js index 1e6c473841..ec785969cd 100644 --- a/InvenTree/templates/js/translated/stock.js +++ b/InvenTree/templates/js/translated/stock.js @@ -7,8 +7,6 @@ closeModal, constructField, constructFormBody, - disableField, - enableField, getFormFieldValue, global_settings, handleFormErrors, @@ -80,7 +78,7 @@ function serializeStockItem(pk, options={}) { icon: 'fa-sitemap', }, notes: {}, - } + }; constructForm(url, options); }