mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 03:30:54 +00:00
make registration simpler
This commit is contained in:
@ -17,7 +17,7 @@ class ActionMixin:
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.add_mixin('action', 'has_action', __class__)
|
self.add_mixin('action', True, __class__)
|
||||||
|
|
||||||
def action_name(self):
|
def action_name(self):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user