mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
make registration simpler
This commit is contained in:
parent
3ff4ed67c3
commit
f612f57992
@ -17,7 +17,7 @@ class ActionMixin:
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.add_mixin('action', 'has_action', __class__)
|
||||
self.add_mixin('action', True, __class__)
|
||||
|
||||
def action_name(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user