make imports easier

This commit is contained in:
Matthias 2022-05-11 12:17:46 +02:00
parent f0d2730ae6
commit 3c9e4e7eab
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -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"