From 3c9e4e7eabe7f9c594b92d7804ed337b49c5d560 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 11 May 2022 12:17:46 +0200 Subject: [PATCH] make imports easier --- InvenTree/plugin/builtin/barcodes/inventree_barcode.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/InvenTree/plugin/builtin/barcodes/inventree_barcode.py b/InvenTree/plugin/builtin/barcodes/inventree_barcode.py index 4cfbf1cb85..939bf12c08 100644 --- a/InvenTree/plugin/builtin/barcodes/inventree_barcode.py +++ b/InvenTree/plugin/builtin/barcodes/inventree_barcode.py @@ -13,8 +13,8 @@ references model objects actually exist in the database. import json -import plugin.integration -from .mixins import BarcodeMixin +from plugin import IntegrationPluginBase +from plugin.mixins import BarcodeMixin from stock.models import StockItem, StockLocation from part.models import Part @@ -22,7 +22,7 @@ from part.models import Part from rest_framework.exceptions import ValidationError -class InvenTreeBarcodePlugin(BarcodeMixin, plugin.integration.IntegrationPluginBase): +class InvenTreeBarcodePlugin(BarcodeMixin, IntegrationPluginBase): PLUGIN_NAME = "InvenTreeBarcode"