move import back too

This commit is contained in:
Matthias 2022-05-11 13:54:08 +02:00
parent ffe546d647
commit 3503ca4b4e
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093
4 changed files with 3 additions and 5 deletions

View File

@ -36,7 +36,7 @@ import InvenTree.fields
import InvenTree.helpers
import InvenTree.tasks
from plugin import trigger_event
from plugin.events import trigger_event
from part import models as PartModels
from stock import models as StockModels

View File

@ -30,7 +30,7 @@ from users import models as UserModels
from part import models as PartModels
from stock import models as stock_models
from company.models import Company, SupplierPart
from plugin import trigger_event
from plugin.events import trigger_event
import InvenTree.helpers
from InvenTree.fields import InvenTreeModelMoneyField, RoundingDecimalField

View File

@ -3,7 +3,6 @@ Utility file to enable simper imports
"""
from .registry import registry
from .events import trigger_event
from .plugin import InvenTreePluginBase, IntegrationPluginBase
from .base.action.action import ActionPlugin
@ -12,7 +11,6 @@ from .helpers import MixinNotImplementedError, MixinImplementationError
__all__ = [
'registry',
'trigger_event',
'ActionPlugin',
'IntegrationPluginBase',

View File

@ -38,7 +38,7 @@ import common.models
import report.models
import label.models
from plugin import trigger_event
from plugin.events import trigger_event
from InvenTree.status_codes import StockStatus, StockHistoryCode
from InvenTree.models import InvenTreeTree, InvenTreeAttachment