add depreciation TODO

This commit is contained in:
Matthias 2022-01-10 01:00:12 +01:00
parent bcb0f62e42
commit 6affc7550b
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -17,6 +17,7 @@ class ActionPlugin(ActionMixin, plugin.integration.IntegrationPluginBase):
Legacy action definition - will be replaced Legacy action definition - will be replaced
Please use the new Integration Plugin API and the Action mixin Please use the new Integration Plugin API and the Action mixin
""" """
# TODO @matmair remove this with InvenTree 0.7.0
def __init__(self, user=None, data=None): def __init__(self, user=None, data=None):
warnings.warn("using the ActionPlugin is depreceated", DeprecationWarning) warnings.warn("using the ActionPlugin is depreceated", DeprecationWarning)
super().__init__() super().__init__()