mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
move action
This commit is contained in:
parent
308dd53c35
commit
0d89959d49
@ -5,7 +5,7 @@ Utility file to enable simper imports
|
|||||||
from .registry import registry
|
from .registry import registry
|
||||||
from .plugin import InvenTreePluginBase
|
from .plugin import InvenTreePluginBase
|
||||||
from .integration import IntegrationPluginBase
|
from .integration import IntegrationPluginBase
|
||||||
from .action import ActionPlugin
|
from .base.action.action import ActionPlugin
|
||||||
|
|
||||||
from .helpers import MixinNotImplementedError, MixinImplementationError
|
from .helpers import MixinNotImplementedError, MixinImplementationError
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
import logging
|
import logging
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
from plugin.builtin.action.mixins import ActionMixin
|
from plugin.base.action.mixins import ActionMixin
|
||||||
import plugin.integration
|
import plugin.integration
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""sample implementation for ActionPlugin"""
|
"""sample implementation for ActionPlugin"""
|
||||||
from plugin.action import ActionPlugin
|
from plugin.base.action.action import ActionPlugin
|
||||||
|
|
||||||
|
|
||||||
class SimpleActionPlugin(ActionPlugin):
|
class SimpleActionPlugin(ActionPlugin):
|
||||||
|
@ -6,7 +6,7 @@ from ..base.integration.mixins import APICallMixin, AppMixin, LabelPrintingMixin
|
|||||||
|
|
||||||
from common.notifications import SingleNotificationMethod, BulkNotificationMethod
|
from common.notifications import SingleNotificationMethod, BulkNotificationMethod
|
||||||
|
|
||||||
from ..builtin.action.mixins import ActionMixin
|
from ..base.action.mixins import ActionMixin
|
||||||
from ..builtin.barcodes.mixins import BarcodeMixin
|
from ..builtin.barcodes.mixins import BarcodeMixin
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
|
|
||||||
from plugin.action import ActionPlugin
|
from plugin.base.action.action import ActionPlugin
|
||||||
|
|
||||||
|
|
||||||
class ActionPluginTests(TestCase):
|
class ActionPluginTests(TestCase):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user