mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-03 13:58:47 +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…
x
Reference in New Issue
Block a user