mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
move import back too
This commit is contained in:
parent
ffe546d647
commit
3503ca4b4e
@ -36,7 +36,7 @@ import InvenTree.fields
|
|||||||
import InvenTree.helpers
|
import InvenTree.helpers
|
||||||
import InvenTree.tasks
|
import InvenTree.tasks
|
||||||
|
|
||||||
from plugin import trigger_event
|
from plugin.events import trigger_event
|
||||||
|
|
||||||
from part import models as PartModels
|
from part import models as PartModels
|
||||||
from stock import models as StockModels
|
from stock import models as StockModels
|
||||||
|
@ -30,7 +30,7 @@ from users import models as UserModels
|
|||||||
from part import models as PartModels
|
from part import models as PartModels
|
||||||
from stock import models as stock_models
|
from stock import models as stock_models
|
||||||
from company.models import Company, SupplierPart
|
from company.models import Company, SupplierPart
|
||||||
from plugin import trigger_event
|
from plugin.events import trigger_event
|
||||||
|
|
||||||
import InvenTree.helpers
|
import InvenTree.helpers
|
||||||
from InvenTree.fields import InvenTreeModelMoneyField, RoundingDecimalField
|
from InvenTree.fields import InvenTreeModelMoneyField, RoundingDecimalField
|
||||||
|
@ -3,7 +3,6 @@ Utility file to enable simper imports
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from .registry import registry
|
from .registry import registry
|
||||||
from .events import trigger_event
|
|
||||||
|
|
||||||
from .plugin import InvenTreePluginBase, IntegrationPluginBase
|
from .plugin import InvenTreePluginBase, IntegrationPluginBase
|
||||||
from .base.action.action import ActionPlugin
|
from .base.action.action import ActionPlugin
|
||||||
@ -12,7 +11,6 @@ from .helpers import MixinNotImplementedError, MixinImplementationError
|
|||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
'registry',
|
'registry',
|
||||||
'trigger_event',
|
|
||||||
|
|
||||||
'ActionPlugin',
|
'ActionPlugin',
|
||||||
'IntegrationPluginBase',
|
'IntegrationPluginBase',
|
||||||
|
@ -38,7 +38,7 @@ import common.models
|
|||||||
import report.models
|
import report.models
|
||||||
import label.models
|
import label.models
|
||||||
|
|
||||||
from plugin import trigger_event
|
from plugin.events import trigger_event
|
||||||
|
|
||||||
from InvenTree.status_codes import StockStatus, StockHistoryCode
|
from InvenTree.status_codes import StockStatus, StockHistoryCode
|
||||||
from InvenTree.models import InvenTreeTree, InvenTreeAttachment
|
from InvenTree.models import InvenTreeTree, InvenTreeAttachment
|
||||||
|
Loading…
Reference in New Issue
Block a user