InvenTree/InvenTree/plugins/plugin.py
Oliver Walters a58e2e84f8 Add "ActionPlugin" interface
- Plugin for running a custom action
2020-04-15 00:16:42 +10:00

17 lines
288 B
Python

# -*- coding: utf-8 -*-
class InvenTreePlugin():
"""
Base class for a Barcode plugin
"""
# Override the plugin name for each concrete plugin instance
PLUGIN_NAME = ''
def plugin_name(self):
return self.PLUGIN_NAME
def __init__(self):
pass