-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Is there a way to perform an action and avoid going into the changeform ? Just perform the action remainging in the changelist.
Maybe I am doing something wrong.
def do_other_action(self, obj):
messages.info('hi')
and
def get_row_actions(self, obj):
row_actions = [
{
'label': 'Mark Received dasdas asd asd aasd dasds',
'action': 'do_other_action',
'tooltip': 'Segnala falsi positivi o altri errori',
'enabled': True
}
}
the above code opens the changeform of the object.
Metadata
Metadata
Assignees
Labels
No labels