2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 13:06:45 +00:00
2021-10-08 22:08:09 +02:00

19 lines
349 B
Python

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