mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
a58e2e84f8
- Plugin for running a custom action
17 lines
288 B
Python
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
|