mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
move to use shim
This commit is contained in:
parent
066eaa119d
commit
1636459ccd
@ -36,7 +36,7 @@ import InvenTree.fields
|
||||
import InvenTree.helpers
|
||||
import InvenTree.tasks
|
||||
|
||||
from plugin.events import trigger_event
|
||||
from plugin.event import trigger_event
|
||||
|
||||
from part import models as PartModels
|
||||
from stock import models as StockModels
|
||||
|
@ -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.events import trigger_event
|
||||
from plugin.event import trigger_event
|
||||
|
||||
import InvenTree.helpers
|
||||
from InvenTree.fields import InvenTreeModelMoneyField, RoundingDecimalField
|
||||
|
5
InvenTree/plugin/event.py
Normal file
5
InvenTree/plugin/event.py
Normal file
@ -0,0 +1,5 @@
|
||||
"""
|
||||
Import helper for events
|
||||
"""
|
||||
|
||||
from plugin.base.event.events import trigger_event
|
@ -38,7 +38,7 @@ import common.models
|
||||
import report.models
|
||||
import label.models
|
||||
|
||||
from plugin.events import trigger_event
|
||||
from plugin.event import trigger_event
|
||||
|
||||
from InvenTree.status_codes import StockStatus, StockHistoryCode
|
||||
from InvenTree.models import InvenTreeTree, InvenTreeAttachment
|
||||
|
Loading…
Reference in New Issue
Block a user