mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
make imports easier
This commit is contained in:
parent
f0d2730ae6
commit
3c9e4e7eab
@ -13,8 +13,8 @@ references model objects actually exist in the database.
|
|||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
import plugin.integration
|
from plugin import IntegrationPluginBase
|
||||||
from .mixins import BarcodeMixin
|
from plugin.mixins import BarcodeMixin
|
||||||
|
|
||||||
from stock.models import StockItem, StockLocation
|
from stock.models import StockItem, StockLocation
|
||||||
from part.models import Part
|
from part.models import Part
|
||||||
@ -22,7 +22,7 @@ from part.models import Part
|
|||||||
from rest_framework.exceptions import ValidationError
|
from rest_framework.exceptions import ValidationError
|
||||||
|
|
||||||
|
|
||||||
class InvenTreeBarcodePlugin(BarcodeMixin, plugin.integration.IntegrationPluginBase):
|
class InvenTreeBarcodePlugin(BarcodeMixin, IntegrationPluginBase):
|
||||||
|
|
||||||
PLUGIN_NAME = "InvenTreeBarcode"
|
PLUGIN_NAME = "InvenTreeBarcode"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user