2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-11 23:44:14 +00:00
Files
InvenTree/InvenTree/plugin/plugin.py
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