mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 12:05:53 +00:00
simplify code
This commit is contained in:
@ -114,10 +114,7 @@ class IntegrationPluginBase(MixinBase, plugin.InvenTreePlugin):
|
|||||||
"""
|
"""
|
||||||
Human readable name of plugin
|
Human readable name of plugin
|
||||||
"""
|
"""
|
||||||
human_name = getattr(self, 'PLUGIN_TITLE', None)
|
return self.plugin_title()
|
||||||
if not human_name:
|
|
||||||
human_name = self.plugin_name()
|
|
||||||
return human_name
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def description(self):
|
def description(self):
|
||||||
|
Reference in New Issue
Block a user