2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 12:36:45 +00:00
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